Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004449/0.004449, allocations: 154.8 kB / 24.69 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8824/0.8824, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.257/0.257, allocations: 34.24 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.727e-05, allocations: 2.281 kB / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1898/0.1898, allocations: 9.026 MB / 452.5 MB, free: 39.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.1956, allocations: 3.61 MB / 456.1 MB, free: 37.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.1972, allocations: 69.16 kB / 456.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.1997, allocations: 1.993 MB / 458.2 MB, free: 36.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.2031, allocations: 1.733 MB / 459.9 MB, free: 35.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.2043, allocations: 0.6595 MB / 460.5 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003826/0.2082, allocations: 3.751 MB / 464.3 MB, free: 33.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.2107, allocations: 2.383 MB / 466.7 MB, free: 32.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.213, allocations: 1.887 MB / 468.6 MB, free: 31.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.2148, allocations: 1.824 MB / 470.4 MB, free: 31.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.2152, allocations: 260.7 kB / 470.6 MB, free: 31.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.2165, allocations: 0.9678 MB / 471.6 MB, free: 31.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009812/0.2175, allocations: 1.675 MB / 473.3 MB, free: 30.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.2185, allocations: 1.027 MB / 474.3 MB, free: 29.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.2234, allocations: 5.816 MB / 480.1 MB, free: 27.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2235, allocations: 0 / 480.1 MB, free: 27.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2235, allocations: 0 / 480.1 MB, free: 27.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001687/0.2236, allocations: 0 / 480.1 MB, free: 27.94 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007993/0.2316, allocations: 4.043 MB / 484.2 MB, free: 25.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2317, allocations: 9.312 kB / 484.2 MB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.2362, allocations: 1.828 MB / 486 MB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/0.2401, allocations: 1.866 MB / 487.9 MB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.2403, allocations: 189.1 kB / 488.1 MB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007317/0.241, allocations: 258.8 kB / 488.3 MB, free: 24.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.2542, allocations: 8.502 MB / 496.8 MB, free: 19.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.2544, allocations: 46.7 kB / 496.9 MB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003928/0.2548, allocations: 128.5 kB / 497 MB, free: 19.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.257, allocations: 1.699 MB / 498.7 MB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.2679, allocations: 7.098 MB / 0.4939 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.2949, allocations: 32.24 MB / 0.5254 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/0.2994, allocations: 2.82 MB / 0.5282 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.3008, allocations: 1.363 MB / 0.5295 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004659/0.3054, allocations: 3.458 MB / 0.5329 GB, free: 8.586 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3055, allocations: 43.22 kB / 0.5329 GB, free: 8.535 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.539e-06/0.3055, allocations: 0 / 0.5329 GB, free: 8.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01824/0.3237, allocations: 11.9 MB / 0.5445 GB, free: 12.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.3238, allocations: 170.9 kB / 0.5447 GB, free: 12.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.3271, allocations: 3.509 MB / 0.5481 GB, free: 8.844 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.3273, allocations: 45.69 kB / 0.5482 GB, free: 8.793 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.3286, allocations: 2.851 MB / 0.551 GB, free: 5.914 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/0.3292, allocations: 0.5312 MB / 0.5515 GB, free: 5.379 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000985/0.3301, allocations: 1.072 MB / 0.5525 GB, free: 4.297 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.3302, allocations: 301.1 kB / 0.5528 GB, free: 4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.332, allocations: 1.713 MB / 0.5545 GB, free: 2.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003657/0.3357, allocations: 5.16 MB / 0.5595 GB, free: 11.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006288/0.342, allocations: 7.431 MB / 0.5668 GB, free: 2.242 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.293e-05/0.3421, allocations: 32 kB / 0.5668 GB, free: 2.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00936/0.3514, allocations: 6.718 MB / 0.5734 GB, free: 11.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.3515, allocations: 56 kB / 0.5734 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.352e-05/0.3516, allocations: 124 kB / 0.5735 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.352, allocations: 313.2 kB / 0.5738 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.3544, allocations: 1.255 MB / 0.5751 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.3563, allocations: 2.345 MB / 0.5774 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.3592, allocations: 323.6 kB / 0.5777 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005473/0.3597, allocations: 336 kB / 0.578 GB, free: 6.656 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002903/0.3626, allocations: 1.8 MB / 0.5797 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/0.3632, allocations: 286.1 kB / 0.58 GB, free: 4.566 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.3661, allocations: 2.324 MB / 0.5823 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.3661, allocations: 16 kB / 0.5823 GB, free: 2.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3661, allocations: 4 kB / 0.5823 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3661, allocations: 7.922 kB / 0.5823 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/0.3738, allocations: 5.168 MB / 0.5874 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.3738, allocations: 5.312 kB / 0.5874 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.3743, allocations: 172.2 kB / 0.5875 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.3756, allocations: 0.7108 MB / 0.5882 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.332e-05/0.3756, allocations: 20 kB / 0.5882 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004269/0.3799, allocations: 4.708 MB / 0.5928 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3799, allocations: 7.969 kB / 0.5928 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004554/0.3845, allocations: 4.301 MB / 0.597 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/0.3852, allocations: 282 kB / 0.5973 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.3856, allocations: 16.12 kB / 0.5973 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007737/0.3863, allocations: 107.8 kB / 0.5974 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.3865, allocations: 76.45 kB / 0.5975 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.3866, allocations: 32 kB / 0.5975 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002632/0.3892, allocations: 2.034 MB / 0.5995 GB, free: 392 kB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3892, allocations: 0 / 0.5995 GB, free: 392 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003736/0.3929, allocations: 0.871 MB / 0.6004 GB, free: 15.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004309/0.3934, allocations: 159 kB / 0.6005 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004619/0.398, allocations: 3.908 MB / 0.6043 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.398, allocations: 0 / 0.6043 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.399, allocations: 1.041 MB / 0.6054 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.4006, allocations: 342.5 kB / 0.6057 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009902/0.4105, allocations: 7.693 MB / 0.6132 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/0.4128, allocations: 2.236 MB / 0.6154 GB, free: 60 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/0.4136, allocations: 240.5 kB / 0.6156 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.764e-06/0.4136, allocations: 0 / 0.6156 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.2369/0.6505, allocations: 64.62 MB / 0.6787 GB, free: 132.5 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.784106185659766]