Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001828/0.001828, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002074/0.002074, allocations: 215.1 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2447/0.2447, allocations: 44.25 MB / 330.3 MB, free: 9.422 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 71.89 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1228, allocations: 61.04 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01221/0.135, allocations: 9.15 MB / 0.5256 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008496/0.1435, allocations: 3.683 MB / 0.5292 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.145, allocations: 67.69 kB / 0.5292 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.1492, allocations: 2.032 MB / 0.5312 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.1541, allocations: 1.759 MB / 0.5329 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1557, allocations: 0.6979 MB / 0.5336 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006042/0.1618, allocations: 3.814 MB / 0.5374 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2728/0.4346, allocations: 2.153 MB / 0.5395 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.4387, allocations: 1.342 MB / 0.5408 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004354/0.443, allocations: 1.916 MB / 0.5426 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009962/0.444, allocations: 265.8 kB / 0.5429 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.447, allocations: 1.086 MB / 0.5439 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.4492, allocations: 1.724 MB / 0.5456 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.4514, allocations: 1.408 MB / 0.547 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.4628, allocations: 6.253 MB / 0.5531 GB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.4628, allocations: 0.7969 kB / 0.5531 GB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4628, allocations: 1.625 kB / 0.5531 GB, free: 9.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003189/0.4632, allocations: 0 / 0.5531 GB, free: 9.629 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01752/0.4807, allocations: 4.276 MB / 0.5573 GB, free: 7.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.4807, allocations: 9.156 kB / 0.5573 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.4979, allocations: 2.455 MB / 0.5597 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008558/0.5065, allocations: 2.439 MB / 0.5621 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.5066, allocations: 196.6 kB / 0.5623 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009387/0.5076, allocations: 284.3 kB / 0.5625 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.5232, allocations: 8.651 MB / 0.571 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.5233, allocations: 37.7 kB / 0.571 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/0.5237, allocations: 126.6 kB / 0.5711 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/0.5265, allocations: 1.739 MB / 0.5728 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.5415, allocations: 7.269 MB / 0.5799 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04991/0.5914, allocations: 31.59 MB / 0.6108 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008992/0.6004, allocations: 2.891 MB / 0.6136 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.6028, allocations: 1.583 MB / 0.6152 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.6148, allocations: 6.095 MB / 0.6211 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.6149, allocations: 51.5 kB / 0.6212 GB, free: 4.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 4.208e-06/0.6149, allocations: 0 / 0.6212 GB, free: 4.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=188): time 0.06497/0.6798, allocations: 19.54 MB / 0.6402 GB, free: 1.281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.68, allocations: 201.2 kB / 0.6404 GB, free: 1.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/0.6853, allocations: 3.574 MB / 0.6439 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002867/0.6856, allocations: 61.7 kB / 0.644 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/0.6879, allocations: 2.942 MB / 0.6469 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.689, allocations: 0.7464 MB / 0.6476 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/0.691, allocations: 1.208 MB / 0.6488 GB, free: 8.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6912, allocations: 306.8 kB / 0.6491 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/0.6947, allocations: 2.205 MB / 0.6512 GB, free: 6.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006561/0.7013, allocations: 5.813 MB / 0.6569 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.7127, allocations: 8.593 MB / 0.6653 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/0.7128, allocations: 36 kB / 0.6653 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02155/0.7344, allocations: 9.135 MB / 0.6742 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.7345, allocations: 60 kB / 0.6743 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.7346, allocations: 124 kB / 0.6744 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005635/0.7403, allocations: 1.663 MB / 0.676 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/0.745, allocations: 1.329 MB / 0.6773 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/0.761, allocations: 9.669 MB / 0.6868 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/0.7663, allocations: 308.5 kB / 0.6871 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/0.7674, allocations: 364 kB / 0.6874 GB, free: 13.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * 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 {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004117/0.7715, allocations: 1.894 MB / 0.6893 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007234/0.7722, allocations: 318 kB / 0.6896 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009681/0.7819, allocations: 4.089 MB / 0.6936 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/0.782, allocations: 20 kB / 0.6936 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.782, allocations: 11.66 kB / 0.6936 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.782, allocations: 11.91 kB / 0.6936 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.8001, allocations: 7.494 MB / 0.7009 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.8001, allocations: 8 kB / 0.7009 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.8014, allocations: 247.6 kB / 0.7012 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005211/0.8066, allocations: 1.428 MB / 0.7026 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.8068, allocations: 32 kB / 0.7026 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/0.8213, allocations: 8.988 MB / 0.7114 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8213, allocations: 0 / 0.7114 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.8355, allocations: 6.686 MB / 0.7179 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/0.8378, allocations: 0.5328 MB / 0.7184 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006575/0.8385, allocations: 30.75 kB / 0.7185 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.8401, allocations: 87.89 kB / 0.7185 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/0.8405, allocations: 121 kB / 0.7187 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/0.8407, allocations: 60.05 kB / 0.7187 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004282/0.845, allocations: 2.053 MB / 0.7207 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.845, allocations: 0 / 0.7207 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006661/0.8516, allocations: 0.9882 MB / 0.7217 GB, free: 10.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005324/0.8522, allocations: 165.9 kB / 0.7218 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01032/0.8625, allocations: 5.204 MB / 0.7269 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.8625, allocations: 0 / 0.7269 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002821/0.8653, allocations: 1.673 MB / 0.7286 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.8678, allocations: 334.2 kB / 0.7289 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/0.886, allocations: 8.718 MB / 0.7374 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003667/0.8896, allocations: 2.427 MB / 0.7398 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004554/0.8942, allocations: 1.778 MB / 0.7415 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006578/0.8948, allocations: 203.4 kB / 0.7417 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.8948, allocations: 4 kB / 0.7417 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of Templates: time 0.3986/1.293, allocations: 37.3 MB / 0.7781 GB, free: 196.9 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.723804568871856]