Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 184.9 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.91 MB / 353.5 MB, free: 11.88 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 75.88 kB / 497.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3592, allocations: 64.28 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01272/0.372, allocations: 10.36 MB / 0.5589 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008417/0.3804, allocations: 3.822 MB / 0.5627 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.3825, allocations: 67.62 kB / 0.5627 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.3868, allocations: 1.989 MB / 0.5647 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.3929, allocations: 1.704 MB / 0.5663 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.3949, allocations: 0.6198 MB / 0.5669 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006496/0.4014, allocations: 3.33 MB / 0.5702 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003124/0.4046, allocations: 1.928 MB / 0.5721 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.4071, allocations: 1.257 MB / 0.5733 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.4099, allocations: 1.822 MB / 0.5751 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005636/0.4104, allocations: 256 kB / 0.5753 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.4126, allocations: 1.069 MB / 0.5764 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.4144, allocations: 1.62 MB / 0.578 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.4164, allocations: 1.825 MB / 0.5797 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007878/0.4243, allocations: 5.862 MB / 0.5855 GB, free: 9.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4243, allocations: 0 / 0.5855 GB, free: 9.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4243, allocations: 0 / 0.5855 GB, free: 9.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001773/0.4245, allocations: 0 / 0.5855 GB, free: 9.723 MB / 430.1 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.00995/0.4344, allocations: 4.053 MB / 0.5894 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4344, allocations: 12.92 kB / 0.5894 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007146/0.4416, allocations: 1.796 MB / 0.5912 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/0.4462, allocations: 1.884 MB / 0.593 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.4464, allocations: 193.2 kB / 0.5932 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005951/0.447, allocations: 259.7 kB / 0.5935 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.4625, allocations: 8.436 MB / 0.6017 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.4627, allocations: 47.64 kB / 0.6017 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.463, allocations: 123.9 kB / 0.6019 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00318/0.4662, allocations: 1.695 MB / 0.6035 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.4822, allocations: 7.098 MB / 0.6105 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04968/0.5319, allocations: 33.97 MB / 0.6436 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/0.5396, allocations: 2.73 MB / 0.6463 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.5417, allocations: 1.357 MB / 0.6476 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006549/0.5482, allocations: 3.676 MB / 0.6512 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.5483, allocations: 51.16 kB / 0.6513 GB, free: 4.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.917e-06/0.5483, allocations: 0 / 0.6513 GB, free: 4.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03128/0.5795, allocations: 11.48 MB / 0.6625 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5797, allocations: 166.9 kB / 0.6626 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/0.5854, allocations: 3.734 MB / 0.6663 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/0.5857, allocations: 41.7 kB / 0.6663 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002485/0.5882, allocations: 2.866 MB / 0.6691 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008007/0.589, allocations: 0.5389 MB / 0.6696 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.5905, allocations: 1.091 MB / 0.6707 GB, free: 392 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5907, allocations: 313 kB / 0.671 GB, free: 76 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002777/0.5935, allocations: 1.701 MB / 0.6727 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006117/0.5996, allocations: 5.131 MB / 0.6777 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.6098, allocations: 7.421 MB / 0.6849 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/0.6099, allocations: 36 kB / 0.685 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01497/0.6249, allocations: 6.734 MB / 0.6915 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.625, allocations: 59.94 kB / 0.6916 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/0.6252, allocations: 120 kB / 0.6917 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/0.6259, allocations: 316.7 kB / 0.692 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004627/0.6305, allocations: 1.248 MB / 0.6932 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.6337, allocations: 2.397 MB / 0.6956 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/0.6391, allocations: 287.6 kB / 0.6958 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/0.6404, allocations: 336 kB / 0.6962 GB, free: 2.746 MB / 0.5294 GB 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.003899/0.6443, allocations: 1.799 MB / 0.6979 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008942/0.6451, allocations: 321.8 kB / 0.6982 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005324/0.6505, allocations: 2.355 MB / 0.7005 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/0.6505, allocations: 20.02 kB / 0.7005 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.6505, allocations: 7.938 kB / 0.7005 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.6505, allocations: 7.984 kB / 0.7006 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.6634, allocations: 5.866 MB / 0.7063 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.6634, allocations: 4 kB / 0.7063 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008799/0.6643, allocations: 180.1 kB / 0.7065 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/0.6667, allocations: 0.7147 MB / 0.7072 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.6669, allocations: 27.97 kB / 0.7072 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006974/0.6739, allocations: 4.71 MB / 0.7118 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6739, allocations: 0 / 0.7118 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00742/0.6813, allocations: 4.345 MB / 0.716 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009239/0.6822, allocations: 305.7 kB / 0.7163 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/0.6825, allocations: 20 kB / 0.7163 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6837, allocations: 71.84 kB / 0.7164 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.6839, allocations: 72.45 kB / 0.7165 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-05/0.684, allocations: 36 kB / 0.7165 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003731/0.6877, allocations: 2.327 MB / 0.7188 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6877, allocations: 0 / 0.7188 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004552/0.6922, allocations: 0.8163 MB / 0.7196 GB, free: 10.53 MB / 0.5606 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.000481/0.6927, allocations: 151.6 kB / 0.7197 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007706/0.7004, allocations: 3.894 MB / 0.7235 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.7004, allocations: 4.125 kB / 0.7235 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.7025, allocations: 1.037 MB / 0.7245 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.7051, allocations: 388.8 kB / 0.7249 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2882/0.9933, allocations: 7.436 MB / 0.7322 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003035/0.9964, allocations: 2.788 MB / 0.7349 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003866/1, allocations: 1.657 MB / 0.7365 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006782/1.001, allocations: 208.8 kB / 0.7367 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/1.001, allocations: 0 / 0.7367 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.05538/1.056, allocations: 31.95 MB / 0.7679 GB, free: 137.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.167225224897265]