Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001819/0.001819, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.002159/0.002159, allocations: 209.9 kB / 24.53 MB, free: 4.035 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.459/1.459, 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 trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.89 MB / 361.3 MB, free: 4.438 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques")
translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 87.84 kB / 0.4971 GB, free: 7.57 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3616, allocations: 66.03 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01515/0.3768, allocations: 12.74 MB / 0.574 GB, free: 7.82 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009954/0.3867, allocations: 4.552 MB / 0.5784 GB, free: 3.254 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.3892, allocations: 103.4 kB / 0.5785 GB, free: 3.152 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.007368/0.3965, allocations: 3.765 MB / 0.5822 GB, free: 15.38 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005988/0.4025, allocations: 2.256 MB / 0.5844 GB, free: 13.11 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.405, allocations: 0.9982 MB / 0.5854 GB, free: 12.11 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009088/0.4141, allocations: 6.058 MB / 0.5913 GB, free: 6.043 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.005255/0.4194, allocations: 3.257 MB / 0.5945 GB, free: 2.719 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.4233, allocations: 1.986 MB / 0.5964 GB, free: 0.7266 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004659/0.4279, allocations: 2.835 MB / 0.5992 GB, free: 13.88 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00136/0.4293, allocations: 408 kB / 0.5996 GB, free: 13.48 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.4326, allocations: 1.49 MB / 0.601 GB, free: 11.99 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003689/0.4363, allocations: 2.489 MB / 0.6035 GB, free: 9.496 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005924/0.4423, allocations: 2.711 MB / 0.6061 GB, free: 6.77 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01523/0.4575, allocations: 8.654 MB / 0.6146 GB, free: 14.08 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.4575, allocations: 0 / 0.6146 GB, free: 14.08 MB / 462.1 MB
Notification: Performance of FrontEnd: time 2.755e-06/0.4575, allocations: 0 / 0.6146 GB, free: 14.08 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0003813/0.4579, allocations: 4 kB / 0.6146 GB, free: 14.07 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1729
 * Number of variables: 1729
Notification: Performance of Generate backend data structure: time 0.01697/0.4749, allocations: 6.096 MB / 0.6205 GB, free: 7.914 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 0.0001752/0.475, allocations: 12.03 kB / 0.6205 GB, free: 7.902 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.4878, allocations: 2.575 MB / 0.6231 GB, free: 5.32 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.4988, allocations: 3.664 MB / 0.6266 GB, free: 1.605 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.4992, allocations: 275.5 kB / 0.6269 GB, free: 1.336 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/0.5009, allocations: 379.7 kB / 0.6273 GB, free: 0.9648 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.5253, allocations: 11.61 MB / 0.6386 GB, free: 4.508 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.5255, allocations: 67.45 kB / 0.6387 GB, free: 4.441 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005283/0.526, allocations: 179.8 kB / 0.6388 GB, free: 4.266 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003852/0.5298, allocations: 2.151 MB / 0.6409 GB, free: 2.113 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.55, allocations: 9.621 MB / 0.6503 GB, free: 8.469 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06395/0.614, allocations: 45.69 MB / 0.6949 GB, free: 9.496 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.6248, allocations: 3.334 MB / 0.6982 GB, free: 6.117 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.6279, allocations: 1.996 MB / 0.7001 GB, free: 4.105 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.6395, allocations: 5.633 MB / 0.7056 GB, free: 14.44 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.6396, allocations: 52.03 kB / 0.7057 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=150): time 4.969e-06/0.6396, allocations: 0 / 0.7057 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of matching and sorting (n=162): time 0.05344/0.693, allocations: 17.39 MB / 0.7227 GB, free: 12.88 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.6932, allocations: 226.2 kB / 0.7229 GB, free: 12.61 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/0.7054, allocations: 5.632 MB / 0.7284 GB, free: 6.992 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005242/0.7059, allocations: 49.7 kB / 0.7284 GB, free: 6.938 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.004216/0.7102, allocations: 3.845 MB / 0.7322 GB, free: 3.059 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.7114, allocations: 0.6903 MB / 0.7329 GB, free: 2.363 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.003572/0.715, allocations: 1.42 MB / 0.7343 GB, free: 0.9336 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001983/0.7152, allocations: 305.1 kB / 0.7345 GB, free: 0.6328 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.2801/0.9952, allocations: 2.284 MB / 0.7368 GB, free: 153.8 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/1, allocations: 6.552 MB / 0.7432 GB, free: 147.7 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007491/1.008, allocations: 9.507 MB / 0.7525 GB, free: 139.5 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.144e-05/1.008, allocations: 45 kB / 0.7525 GB, free: 139.5 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=898) (initialization): time 0.01513/1.023, allocations: 9.594 MB / 0.7619 GB, free: 135.8 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/1.023, allocations: 70.34 kB / 0.7619 GB, free: 135.8 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/1.023, allocations: 148 kB / 0.7621 GB, free: 135.6 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/1.026, allocations: 1.244 MB / 0.7633 GB, free: 134.7 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/1.03, allocations: 1.556 MB / 0.7648 GB, free: 133.3 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007784/1.038, allocations: 8.257 MB / 0.7729 GB, free: 125.7 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/1.043, allocations: 364.5 kB / 0.7732 GB, free: 125.4 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007952/1.044, allocations: 420 kB / 0.7736 GB, free: 125 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 686
 * Number of states: 0 ()
 * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (836):
 * Single equations (assignments): 829
 * Array equations: 5
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,14,100.0%), (2,13,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003228/1.047, allocations: 2.466 MB / 0.776 GB, free: 122.6 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007552/1.048, allocations: 482.4 kB / 0.7765 GB, free: 122.4 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/1.053, allocations: 3.374 MB / 0.7798 GB, free: 119 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/1.053, allocations: 23.05 kB / 0.7798 GB, free: 119 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.053, allocations: 8 kB / 0.7798 GB, free: 119 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.053, allocations: 7.969 kB / 0.7798 GB, free: 119 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/1.065, allocations: 8.152 MB / 0.7878 GB, free: 110.8 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.065, allocations: 4 kB / 0.7878 GB, free: 110.8 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.066, allocations: 255.5 kB / 0.788 GB, free: 110.6 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/1.069, allocations: 1.002 MB / 0.789 GB, free: 109.6 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.069, allocations: 31.98 kB / 0.789 GB, free: 109.5 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006977/1.076, allocations: 7.6 MB / 0.7965 GB, free: 101.8 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.076, allocations: 4 kB / 0.7965 GB, free: 101.8 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006883/1.082, allocations: 5.863 MB / 0.8022 GB, free: 95.97 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.084, allocations: 480.4 kB / 0.8027 GB, free: 95.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/1.084, allocations: 27.98 kB / 0.8027 GB, free: 95.48 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.086, allocations: 95.8 kB / 0.8028 GB, free: 95.39 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.086, allocations: 104.6 kB / 0.8029 GB, free: 95.29 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.086, allocations: 47.98 kB / 0.8029 GB, free: 95.24 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.003929/1.09, allocations: 3.588 MB / 0.8064 GB, free: 91.67 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/1.09, allocations: 0 / 0.8064 GB, free: 91.67 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.00459/1.094, allocations: 1.148 MB / 0.8075 GB, free: 90.53 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120):
 * Single equations (assignments): 115
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,11,100.0%), (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.000338/1.095, allocations: 165.5 kB / 0.8077 GB, free: 90.37 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.00613/1.101, allocations: 5.332 MB / 0.8129 GB, free: 85.05 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.101, allocations: 4 kB / 0.8129 GB, free: 85.05 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001608/1.102, allocations: 1.534 MB / 0.8144 GB, free: 83.5 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/1.105, allocations: 0.5973 MB / 0.815 GB, free: 82.91 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.119, allocations: 11.01 MB / 0.8257 GB, free: 71.84 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/1.122, allocations: 3.772 MB / 0.8294 GB, free: 68.04 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003668/1.125, allocations: 2.112 MB / 0.8315 GB, free: 65.92 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/1.126, allocations: 291.4 kB / 0.8318 GB, free: 65.64 MB / 0.5606 GB
Notification: Performance of SimCode: time 7.82e-07/1.126, allocations: 0 / 0.8318 GB, free: 65.64 MB / 0.5606 GB
Notification: Performance of Templates: time 0.06767/1.194, allocations: 45.54 MB / 0.8762 GB, free: 20.41 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.399694106541574]