Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.001402/0.001402, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001532/0.001532, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.538/1.538, allocations: 230.3 MB / 258 MB, free: 8.172 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.2523/0.2523, allocations: 46.93 MB / 361.3 MB, free: 4.363 MB / 286.1 MB
"
[Timeout remaining time 179]
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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR")
translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 79.86 kB / 0.4971 GB, free: 7.484 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4135, allocations: 66.04 MB / 0.5616 GB, free: 4.492 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02087/0.4344, allocations: 16.35 MB / 0.5776 GB, free: 4.074 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01412/0.4485, allocations: 5.4 MB / 0.5829 GB, free: 14.66 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003959/0.4525, allocations: 115.4 kB / 0.583 GB, free: 14.54 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.009232/0.4617, allocations: 4.232 MB / 0.5871 GB, free: 10.3 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.008889/0.4706, allocations: 2.809 MB / 0.5899 GB, free: 7.477 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.4739, allocations: 1.267 MB / 0.5911 GB, free: 6.211 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01224/0.4862, allocations: 7.74 MB / 0.5986 GB, free: 14.45 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.006825/0.493, allocations: 4.345 MB / 0.6029 GB, free: 10.04 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.4985, allocations: 2.714 MB / 0.6055 GB, free: 7.312 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.007162/0.5057, allocations: 4.089 MB / 0.6095 GB, free: 3.211 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002262/0.5079, allocations: 0.5938 MB / 0.6101 GB, free: 2.617 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004537/0.5125, allocations: 1.795 MB / 0.6119 GB, free: 0.8203 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.004748/0.5172, allocations: 3.374 MB / 0.6152 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.006554/0.5238, allocations: 3.767 MB / 0.6188 GB, free: 9.645 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01777/0.5415, allocations: 12.35 MB / 0.6309 GB, free: 13.25 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.5415, allocations: 3.984 kB / 0.6309 GB, free: 13.25 MB / 478.1 MB
Notification: Performance of FrontEnd: time 2.164e-06/0.5415, allocations: 4 kB / 0.6309 GB, free: 13.25 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 0.0004219/0.542, allocations: 0 / 0.6309 GB, free: 13.25 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2564
 * Number of variables: 2564
Notification: Performance of Generate backend data structure: time 0.02221/0.5642, allocations: 7.974 MB / 0.6387 GB, free: 5.191 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5642, allocations: 8.031 kB / 0.6387 GB, free: 5.184 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/0.5819, allocations: 3.985 MB / 0.6426 GB, free: 1.188 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.5931, allocations: 4.162 MB / 0.6467 GB, free: 12.97 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004269/0.5935, allocations: 402 kB / 0.647 GB, free: 12.57 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/0.596, allocations: 0.5581 MB / 0.6476 GB, free: 12.02 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/0.6387, allocations: 18.88 MB / 0.666 GB, free: 8.09 MB / 0.4981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002591/0.639, allocations: 75.39 kB / 0.6661 GB, free: 8.016 MB / 0.4981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/0.6405, allocations: 247.8 kB / 0.6663 GB, free: 7.773 MB / 0.4981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00623/0.6468, allocations: 3.424 MB / 0.6697 GB, free: 4.348 MB / 0.4981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04081/0.6876, allocations: 16.65 MB / 0.6859 GB, free: 3.676 MB / 0.5137 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7983/1.486, allocations: 66.76 MB / 0.7511 GB, free: 110 MB / 0.5607 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01535/1.501, allocations: 5.137 MB / 0.7562 GB, free: 109.9 MB / 0.5607 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/1.505, allocations: 2.658 MB / 0.7587 GB, free: 109.8 MB / 0.5607 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.02022/1.525, allocations: 11.26 MB / 0.7697 GB, free: 106 MB / 0.5607 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/1.525, allocations: 60.38 kB / 0.7698 GB, free: 106 MB / 0.5607 GB
Notification: Performance of pre-optimization done (n=284): time 6.071e-06/1.525, allocations: 0 / 0.7698 GB, free: 106 MB / 0.5607 GB
Notification: Performance of matching and sorting (n=345): time 0.08044/1.606, allocations: 25.06 MB / 0.7943 GB, free: 85.59 MB / 0.5607 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.606, allocations: 191.8 kB / 0.7945 GB, free: 85.37 MB / 0.5607 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00716/1.613, allocations: 5.889 MB / 0.8002 GB, free: 79.62 MB / 0.5607 GB
Notification: Performance of collectPreVariables (initialization): time 0.0012/1.614, allocations: 77.53 kB / 0.8003 GB, free: 79.54 MB / 0.5607 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003993/1.618, allocations: 5.148 MB / 0.8053 GB, free: 74.66 MB / 0.5607 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.619, allocations: 1.345 MB / 0.8066 GB, free: 73.34 MB / 0.5607 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002303/1.622, allocations: 1.921 MB / 0.8085 GB, free: 71.41 MB / 0.5607 GB
Notification: Performance of setup shared object (initialization): time 4.987e-05/1.622, allocations: 309.1 kB / 0.8088 GB, free: 71.1 MB / 0.5607 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004281/1.626, allocations: 3.361 MB / 0.8121 GB, free: 67.73 MB / 0.5607 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005745/1.632, allocations: 8.876 MB / 0.8207 GB, free: 56.23 MB / 0.5607 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.643, allocations: 13.19 MB / 0.8336 GB, free: 40.47 MB / 0.5607 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/1.643, allocations: 56 kB / 0.8337 GB, free: 40.42 MB / 0.5607 GB
Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02324/1.667, allocations: 13.01 MB / 0.8464 GB, free: 27.37 MB / 0.5607 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.667, allocations: 94.44 kB / 0.8465 GB, free: 27.28 MB / 0.5607 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/1.667, allocations: 192 kB / 0.8467 GB, free: 27.09 MB / 0.5607 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/1.671, allocations: 1.328 MB / 0.8479 GB, free: 25.76 MB / 0.5607 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007313/1.678, allocations: 2.199 MB / 0.8501 GB, free: 23.56 MB / 0.5607 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/1.689, allocations: 7.739 MB / 0.8577 GB, free: 15.71 MB / 0.5607 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007581/1.697, allocations: 0.5082 MB / 0.8581 GB, free: 15.2 MB / 0.5607 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/1.699, allocations: 0.558 MB / 0.8587 GB, free: 14.64 MB / 0.5607 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 880
 * Number of states: 0 ()
 * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1179):
 * Single equations (assignments): 1172
 * Array equations: 6
 * 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,37,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.00562/1.704, allocations: 3.45 MB / 0.8621 GB, free: 11.18 MB / 0.5607 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009957/1.705, allocations: 0.5471 MB / 0.8626 GB, free: 10.63 MB / 0.5607 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.716, allocations: 5.392 MB / 0.8679 GB, free: 5.18 MB / 0.5607 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-05/1.716, allocations: 36 kB / 0.8679 GB, free: 5.145 MB / 0.5607 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.716, allocations: 8 kB / 0.8679 GB, free: 5.137 MB / 0.5607 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.833e-05/1.716, allocations: 11.95 kB / 0.8679 GB, free: 5.125 MB / 0.5607 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0322/1.748, allocations: 13.9 MB / 0.8815 GB, free: 7.012 MB / 0.5763 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/1.748, allocations: 12 kB / 0.8815 GB, free: 7 MB / 0.5763 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.75, allocations: 0.491 MB / 0.882 GB, free: 6.512 MB / 0.5763 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/1.754, allocations: 0.8165 MB / 0.8828 GB, free: 5.691 MB / 0.5763 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004929/1.755, allocations: 64 kB / 0.8828 GB, free: 5.629 MB / 0.5763 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/1.766, allocations: 5.704 MB / 0.8884 GB, free: 15.82 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-05/1.766, allocations: 15.94 kB / 0.8884 GB, free: 15.8 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.783, allocations: 8.326 MB / 0.8966 GB, free: 7.188 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.784, allocations: 0.5157 MB / 0.8971 GB, free: 6.668 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.786, allocations: 67.98 kB / 0.8971 GB, free: 6.602 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.788, allocations: 131.9 kB / 0.8973 GB, free: 6.473 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005553/1.788, allocations: 229.4 kB / 0.8975 GB, free: 6.25 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/1.789, allocations: 101.2 kB / 0.8976 GB, free: 6.152 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.006915/1.796, allocations: 3.65 MB / 0.9011 GB, free: 2.531 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 1.21e-07/1.796, allocations: 4 kB / 0.9011 GB, free: 2.527 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.009449/1.805, allocations: 1.618 MB / 0.9027 GB, free: 0.9141 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 51
 * Number of states: 2 (j2.s,j2.v)
 * 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 (269):
 * Single equations (assignments): 262
 * Array equations: 6
 * 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,30,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0009385/1.806, allocations: 274.2 kB / 0.903 GB, free: 0.6367 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.01602/1.822, allocations: 7.582 MB / 0.9104 GB, free: 9.07 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 2.55e-05/1.822, allocations: 1.875 kB / 0.9104 GB, free: 9.07 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 0.004674/1.827, allocations: 2.223 MB / 0.9126 GB, free: 6.832 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/1.831, allocations: 0.6978 MB / 0.9132 GB, free: 6.148 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/1.866, allocations: 15.6 MB / 0.9285 GB, free: 6.352 MB / 0.6232 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/1.877, allocations: 5.156 MB / 0.9335 GB, free: 1.152 MB / 0.6232 GB
Notification: Performance of simCode: alias equations: time 0.009111/1.886, allocations: 2.954 MB / 0.9364 GB, free: 14.18 MB / 0.6388 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/1.888, allocations: 383.3 kB / 0.9368 GB, free: 13.81 MB / 0.6388 GB
Notification: Performance of SimCode: time 1.492e-06/1.888, allocations: 0 / 0.9368 GB, free: 13.81 MB / 0.6388 GB
Notification: Performance of Templates: time 0.1286/2.016, allocations: 59.01 MB / 0.9944 GB, free: 3.082 MB / 0.6857 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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: 9.879633413627744]