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.001312/0.001312, allocations: 83.58 kB / 20.52 MB, free: 1.277 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.001456/0.001456, allocations: 171.2 kB / 23.77 MB, free: 4.461 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.396/1.396, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.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.2097/0.2097, allocations: 32.38 MB / 270.1 MB, free: 2.691 MB / 254.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.002352/0.002352, allocations: 67.91 kB / 407.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1356, allocations: 61.05 MB / 468.8 MB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2989/0.4345, allocations: 9.136 MB / 477.9 MB, free: 44.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008248/0.4427, allocations: 3.687 MB / 481.6 MB, free: 43.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.4436, allocations: 67.88 kB / 481.7 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.4469, allocations: 2.032 MB / 483.7 MB, free: 43.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.45, allocations: 1.747 MB / 485.5 MB, free: 42.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.4513, allocations: 0.7014 MB / 486.2 MB, free: 42.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004177/0.4554, allocations: 3.819 MB / 490 MB, free: 41.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.4574, allocations: 2.163 MB / 492.2 MB, free: 40.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.4588, allocations: 1.337 MB / 493.5 MB, free: 39.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.4608, allocations: 1.917 MB / 495.4 MB, free: 39.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.4612, allocations: 265.7 kB / 495.7 MB, free: 39.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.463, allocations: 1.087 MB / 496.8 MB, free: 38.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.4641, allocations: 1.724 MB / 498.5 MB, free: 38.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.4652, allocations: 1.409 MB / 499.9 MB, free: 37.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.4728, allocations: 6.258 MB / 0.4943 GB, free: 35.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4728, allocations: 0.75 kB / 0.4943 GB, free: 35.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4728, allocations: 0.5 kB / 0.4943 GB, free: 35.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001822/0.473, allocations: 0 / 0.4943 GB, free: 35.14 MB / 446.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.01069/0.4837, allocations: 4.271 MB / 0.4985 GB, free: 32.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4838, allocations: 8.344 kB / 0.4985 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.5016, allocations: 2.558 MB / 0.501 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008368/0.5099, allocations: 2.45 MB / 0.5034 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.5103, allocations: 194.6 kB / 0.5035 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.5121, allocations: 282.4 kB / 0.5038 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.5365, allocations: 8.65 MB / 0.5123 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003547/0.5368, allocations: 37.3 kB / 0.5123 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/0.5385, allocations: 127.5 kB / 0.5124 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00405/0.5425, allocations: 1.741 MB / 0.5141 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.5608, allocations: 7.255 MB / 0.5212 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04872/0.6096, allocations: 31.7 MB / 0.5522 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.6199, allocations: 2.979 MB / 0.5551 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/0.623, allocations: 1.569 MB / 0.5566 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/0.6376, allocations: 6.112 MB / 0.5626 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.091e-05/0.6377, allocations: 63.48 kB / 0.5626 GB, free: 12.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 5.019e-06/0.6377, allocations: 0 / 0.5626 GB, free: 12.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.07456/0.7123, allocations: 19.68 MB / 0.5818 GB, free: 8.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.7125, allocations: 197.2 kB / 0.582 GB, free: 8.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008459/0.7209, allocations: 3.586 MB / 0.5855 GB, free: 4.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005261/0.7215, allocations: 49.7 kB / 0.5856 GB, free: 4.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00327/0.7247, allocations: 2.942 MB / 0.5885 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/0.7262, allocations: 0.7559 MB / 0.5892 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002339/0.7285, allocations: 1.211 MB / 0.5904 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7287, allocations: 305.1 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003838/0.7325, allocations: 2.132 MB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007572/0.7401, allocations: 5.754 MB / 0.5984 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/0.7531, allocations: 8.465 MB / 0.6066 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.7533, allocations: 36 kB / 0.6067 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02211/0.7754, allocations: 9.077 MB / 0.6155 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.7755, allocations: 60 kB / 0.6156 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/0.7757, allocations: 124.5 kB / 0.6157 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006143/0.7818, allocations: 1.739 MB / 0.6174 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004834/0.7866, allocations: 1.322 MB / 0.6187 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/0.8036, allocations: 9.482 MB / 0.628 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/0.8095, allocations: 323.6 kB / 0.6283 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/0.8108, allocations: 364 kB / 0.6286 GB, free: 4.68 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.004536/0.8154, allocations: 1.9 MB / 0.6305 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000989/0.8164, allocations: 317.9 kB / 0.6308 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.8267, allocations: 4.021 MB / 0.6347 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-05/0.8268, allocations: 20 kB / 0.6347 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/0.8268, allocations: 11.98 kB / 0.6347 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/0.8269, allocations: 15.91 kB / 0.6347 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/0.8465, allocations: 7.387 MB / 0.642 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/0.8465, allocations: 0 / 0.642 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.848, allocations: 247.6 kB / 0.6422 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005931/0.8539, allocations: 1.514 MB / 0.6437 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003658/0.8543, allocations: 31.98 kB / 0.6437 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/0.8704, allocations: 8.791 MB / 0.6523 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.8704, allocations: 7.969 kB / 0.6523 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.8856, allocations: 6.544 MB / 0.6587 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/0.8878, allocations: 0.5328 MB / 0.6592 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/0.8889, allocations: 25.12 kB / 0.6592 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/0.891, allocations: 95.88 kB / 0.6593 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/0.8915, allocations: 121.1 kB / 0.6594 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/0.8918, allocations: 55.97 kB / 0.6595 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004799/0.8966, allocations: 2.057 MB / 0.6615 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8966, allocations: 3.938 kB / 0.6615 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006506/0.9031, allocations: 0.9882 MB / 0.6625 GB, free: 1.793 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.0006276/0.9037, allocations: 170.8 kB / 0.6626 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01059/0.9143, allocations: 5.045 MB / 0.6676 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9143, allocations: 1.938 kB / 0.6676 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.9175, allocations: 1.601 MB / 0.6691 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/0.9212, allocations: 342.1 kB / 0.6695 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/0.9431, allocations: 8.619 MB / 0.6779 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006218/0.9493, allocations: 2.425 MB / 0.6802 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005202/0.9545, allocations: 1.785 MB / 0.682 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008122/0.9553, allocations: 208.5 kB / 0.6822 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/0.9553, allocations: 0 / 0.6822 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of Templates: time 0.3304/1.286, allocations: 33.51 MB / 0.7149 GB, free: 184.2 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/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.3359896870097145]