Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2219/0.2219, allocations: 46.95 MB / 361.4 MB, free: 4.402 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 75.88 kB / 0.4972 GB, free: 7.523 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3226, allocations: 66.05 MB / 0.5617 GB, free: 4.551 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01253/0.3351, allocations: 10.43 MB / 0.5718 GB, free: 10.08 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008127/0.3433, allocations: 3.937 MB / 0.5757 GB, free: 6.129 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3444, allocations: 67.69 kB / 0.5758 GB, free: 6.062 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003926/0.3484, allocations: 2.106 MB / 0.5778 GB, free: 3.949 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004059/0.3524, allocations: 1.728 MB / 0.5795 GB, free: 2.215 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3539, allocations: 0.6901 MB / 0.5802 GB, free: 1.523 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005308/0.3592, allocations: 4.009 MB / 0.5841 GB, free: 13.51 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.3617, allocations: 1.946 MB / 0.586 GB, free: 11.51 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.3637, allocations: 1.324 MB / 0.5873 GB, free: 10.18 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.3664, allocations: 2.005 MB / 0.5892 GB, free: 8.172 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005895/0.367, allocations: 268 kB / 0.5895 GB, free: 7.91 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.3692, allocations: 1.209 MB / 0.5907 GB, free: 6.699 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001865/0.3711, allocations: 1.71 MB / 0.5923 GB, free: 4.984 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002532/0.3736, allocations: 1.887 MB / 0.5942 GB, free: 3.086 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007939/0.3815, allocations: 6.175 MB / 0.6002 GB, free: 12.89 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.3815, allocations: 3.984 kB / 0.6002 GB, free: 12.88 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.3815, allocations: 0 / 0.6002 GB, free: 12.88 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0001335/0.3817, allocations: 0 / 0.6002 GB, free: 12.88 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.008439/0.3901, allocations: 4.245 MB / 0.6044 GB, free: 8.582 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3902, allocations: 8.031 kB / 0.6044 GB, free: 8.574 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.4049, allocations: 2.451 MB / 0.6068 GB, free: 6.117 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/0.4111, allocations: 2.346 MB / 0.6091 GB, free: 3.711 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.4113, allocations: 193.3 kB / 0.6092 GB, free: 3.52 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007471/0.412, allocations: 287.9 kB / 0.6095 GB, free: 3.238 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/0.4268, allocations: 8.591 MB / 0.6179 GB, free: 10.01 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.427, allocations: 43.7 kB / 0.6179 GB, free: 9.969 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.4273, allocations: 123.9 kB / 0.6181 GB, free: 9.848 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002848/0.4302, allocations: 1.743 MB / 0.6198 GB, free: 8.105 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.4449, allocations: 7.295 MB / 0.6269 GB, free: 0.8047 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04396/0.4889, allocations: 33.97 MB / 0.6601 GB, free: 13.73 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.008668/0.4976, allocations: 2.905 MB / 0.6629 GB, free: 10.79 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.5001, allocations: 1.584 MB / 0.6645 GB, free: 9.195 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.512, allocations: 6.519 MB / 0.6708 GB, free: 2.641 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.512, allocations: 43.56 kB / 0.6709 GB, free: 2.59 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=151): time 4.589e-06/0.5121, allocations: 0 / 0.6709 GB, free: 2.59 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=188): time 0.06511/0.5772, allocations: 19.49 MB / 0.6899 GB, free: 15.04 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.5773, allocations: 201.2 kB / 0.6901 GB, free: 14.8 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005863/0.5832, allocations: 3.743 MB / 0.6937 GB, free: 11.07 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 0.0004715/0.5836, allocations: 49.7 kB / 0.6938 GB, free: 11.01 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00296/0.5866, allocations: 2.917 MB / 0.6966 GB, free: 8.07 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.5881, allocations: 0.752 MB / 0.6974 GB, free: 7.312 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002129/0.5902, allocations: 1.215 MB / 0.6986 GB, free: 6.086 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.00016/0.5904, allocations: 305.1 kB / 0.6988 GB, free: 5.785 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/0.5938, allocations: 2.21 MB / 0.701 GB, free: 3.57 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007316/0.6012, allocations: 5.774 MB / 0.7066 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/0.6137, allocations: 8.602 MB / 0.715 GB, free: 1.664 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-05/0.6138, allocations: 36 kB / 0.7151 GB, free: 1.629 MB / 0.545 GB
Notification: Performance of matching and sorting (n=782) (initialization): time 0.0216/0.6354, allocations: 9.183 MB / 0.724 GB, free: 8.43 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6355, allocations: 56 kB / 0.7241 GB, free: 8.375 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.6357, allocations: 136.1 kB / 0.7242 GB, free: 8.242 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005997/0.6417, allocations: 1.657 MB / 0.7258 GB, free: 6.582 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004539/0.6462, allocations: 1.326 MB / 0.7271 GB, free: 5.254 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3003/0.9465, allocations: 9.829 MB / 0.7367 GB, free: 148.7 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003986/0.9505, allocations: 315.1 kB / 0.737 GB, free: 148.6 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/0.9509, allocations: 366.4 kB / 0.7374 GB, free: 148.5 MB / 0.5606 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.002364/0.9533, allocations: 1.89 MB / 0.7392 GB, free: 147.8 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.9537, allocations: 348.6 kB / 0.7396 GB, free: 147.8 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007896/0.9616, allocations: 4.125 MB / 0.7436 GB, free: 146.5 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.9617, allocations: 19.62 kB / 0.7436 GB, free: 146.5 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.9617, allocations: 7.906 kB / 0.7436 GB, free: 146.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.9617, allocations: 11.36 kB / 0.7436 GB, free: 146.5 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.975, allocations: 8.463 MB / 0.7519 GB, free: 143.6 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.975, allocations: 0 / 0.7519 GB, free: 143.6 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.9761, allocations: 253.8 kB / 0.7521 GB, free: 143.6 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004661/0.9808, allocations: 1.434 MB / 0.7535 GB, free: 143.4 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.9809, allocations: 35.08 kB / 0.7536 GB, free: 143.4 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.9913, allocations: 9.1 MB / 0.7625 GB, free: 135.3 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9913, allocations: 7.75 kB / 0.7625 GB, free: 135.3 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.001, allocations: 6.753 MB / 0.7691 GB, free: 128.8 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/1.002, allocations: 319.2 kB / 0.7694 GB, free: 128.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/1.002, allocations: 27.81 kB / 0.7694 GB, free: 128.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.004, allocations: 95.88 kB / 0.7695 GB, free: 128.4 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/1.004, allocations: 120.2 kB / 0.7696 GB, free: 128.3 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.004, allocations: 51.98 kB / 0.7696 GB, free: 128.2 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.002583/1.007, allocations: 2.315 MB / 0.7719 GB, free: 125.9 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 8e-08/1.007, allocations: 0 / 0.7719 GB, free: 125.9 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.003997/1.011, allocations: 0.9819 MB / 0.7729 GB, free: 125 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.0003604/1.011, allocations: 156.6 kB / 0.773 GB, free: 124.8 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006457/1.017, allocations: 5.219 MB / 0.7781 GB, free: 119.6 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.017, allocations: 0 / 0.7781 GB, free: 119.6 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001877/1.019, allocations: 1.667 MB / 0.7797 GB, free: 118 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.021, allocations: 395.4 kB / 0.7801 GB, free: 117.6 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.033, allocations: 8.73 MB / 0.7886 GB, free: 108.9 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/1.035, allocations: 2.961 MB / 0.7915 GB, free: 105.9 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003128/1.038, allocations: 1.807 MB / 0.7933 GB, free: 104.1 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/1.038, allocations: 227.4 kB / 0.7935 GB, free: 103.9 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.092e-06/1.038, allocations: 0 / 0.7935 GB, free: 103.9 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05853/1.097, allocations: 40.49 MB / 0.8331 GB, free: 63.64 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.5285150511190295]