Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001548/0.001548, allocations: 82.23 kB / 20.68 MB, free: 1.039 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.001735/0.001735, allocations: 163.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.417/1.417, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.197/0.197, allocations: 32.8 MB / 293.5 MB, free: 48 kB / 270.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.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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.16e-05, allocations: 6.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1939/0.1939, allocations: 9.109 MB / 449.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006737/0.2006, allocations: 3.7 MB / 452.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.2017, allocations: 68.28 kB / 453 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.2056, allocations: 2.118 MB / 455.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.2095, allocations: 1.773 MB / 456.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.2111, allocations: 0.7535 MB / 457.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005301/0.2164, allocations: 4.402 MB / 462 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.2193, allocations: 2.415 MB / 464.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.2223, allocations: 1.969 MB / 466.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.2249, allocations: 1.999 MB / 468.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005135/0.2254, allocations: 271.2 kB / 468.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.2275, allocations: 1.137 MB / 469.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.2289, allocations: 1.772 MB / 471.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.2302, allocations: 1.074 MB / 472.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00727/0.2375, allocations: 6.259 MB / 478.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2375, allocations: 0 / 478.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2375, allocations: 0 / 478.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001454/0.2376, allocations: 0 / 478.9 MB, free: 2.352 MB / 366.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.009145/0.2468, allocations: 4.26 MB / 483.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2468, allocations: 8.031 kB / 483.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/0.2643, allocations: 2.549 MB / 485.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006498/0.2708, allocations: 2.345 MB / 488.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.271, allocations: 197 kB / 488.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009192/0.2719, allocations: 272.6 kB / 488.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.2865, allocations: 8.678 MB / 497.2 MB, free: 156 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.2866, allocations: 43.66 kB / 497.3 MB, free: 112 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.287, allocations: 127.9 kB / 497.4 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/0.29, allocations: 1.743 MB / 499.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.3041, allocations: 7.271 MB / 0.4945 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04244/0.3465, allocations: 31.76 MB / 0.5255 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009254/0.3558, allocations: 2.981 MB / 0.5285 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.3582, allocations: 1.576 MB / 0.53 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.3701, allocations: 6.26 MB / 0.5361 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.3702, allocations: 51.56 kB / 0.5362 GB, free: 11.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 4.268e-06/0.3702, allocations: 0 / 0.5362 GB, free: 11.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.06968/0.4398, allocations: 19.73 MB / 0.5554 GB, free: 7.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.44, allocations: 209.2 kB / 0.5556 GB, free: 7.234 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/0.4464, allocations: 3.648 MB / 0.5592 GB, free: 3.578 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004009/0.4468, allocations: 53.7 kB / 0.5592 GB, free: 3.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.4492, allocations: 2.903 MB / 0.5621 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.4504, allocations: 0.7404 MB / 0.5628 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002426/0.4528, allocations: 1.199 MB / 0.564 GB, free: 14.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.453, allocations: 301.1 kB / 0.5643 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003643/0.4566, allocations: 2.147 MB / 0.5664 GB, free: 12.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007162/0.4638, allocations: 5.762 MB / 0.572 GB, free: 4.633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/0.4765, allocations: 8.482 MB / 0.5803 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001911/0.4767, allocations: 39.94 kB / 0.5803 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02068/0.4974, allocations: 9.088 MB / 0.5892 GB, free: 1.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.4975, allocations: 60 kB / 0.5892 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/0.4978, allocations: 128.1 kB / 0.5894 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006143/0.5039, allocations: 1.732 MB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004672/0.5086, allocations: 1.33 MB / 0.5923 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/0.5248, allocations: 9.502 MB / 0.6016 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/0.5297, allocations: 351.4 kB / 0.602 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/0.5308, allocations: 364 kB / 0.6023 GB, free: 3.703 MB / 0.4981 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.004508/0.5353, allocations: 1.893 MB / 0.6042 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008812/0.5362, allocations: 317.8 kB / 0.6045 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.5465, allocations: 4.04 MB / 0.6084 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-05/0.5465, allocations: 20 kB / 0.6084 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.5465, allocations: 8 kB / 0.6084 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.5466, allocations: 7.969 kB / 0.6084 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/0.5659, allocations: 7.463 MB / 0.6157 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.5659, allocations: 3.938 kB / 0.6157 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.5672, allocations: 263.6 kB / 0.616 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005751/0.573, allocations: 1.503 MB / 0.6174 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/0.5733, allocations: 31.98 kB / 0.6175 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.588, allocations: 8.817 MB / 0.6261 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.588, allocations: 3.984 kB / 0.6261 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.6018, allocations: 6.567 MB / 0.6325 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/0.6028, allocations: 301.8 kB / 0.6328 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000725/0.6035, allocations: 32 kB / 0.6328 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/0.6055, allocations: 131.8 kB / 0.6329 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/0.6059, allocations: 113 kB / 0.6331 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.6061, allocations: 51.98 kB / 0.6331 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004168/0.6102, allocations: 2.107 MB / 0.6352 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6102, allocations: 64 / 0.6352 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005365/0.6156, allocations: 1.059 MB / 0.6362 GB, free: 0.7656 MB / 0.5294 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.0006011/0.6162, allocations: 166.9 kB / 0.6364 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2023/0.8185, allocations: 5.064 MB / 0.6413 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8185, allocations: 0 / 0.6413 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.8215, allocations: 1.605 MB / 0.6429 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.8244, allocations: 332.4 kB / 0.6432 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.8396, allocations: 8.554 MB / 0.6515 GB, free: 171 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003409/0.843, allocations: 2.421 MB / 0.6539 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004335/0.8473, allocations: 1.777 MB / 0.6556 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006438/0.848, allocations: 210 kB / 0.6558 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.393e-06/0.848, allocations: 4 kB / 0.6558 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.05602/0.904, allocations: 34.62 MB / 0.6896 GB, free: 145.5 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.627128385007381]