Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001862/0.001862, allocations: 109 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.002088/0.002088, allocations: 213.9 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.565/1.565, allocations: 230.3 MB / 257.9 MB, free: 8.223 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.2407/0.2407, allocations: 46.89 MB / 361.3 MB, free: 4.43 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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP")
translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003381/0.003381, allocations: 79.86 kB / 0.497 GB, free: 7.582 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4278, allocations: 66.02 MB / 0.5615 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02135/0.4492, allocations: 16.1 MB / 0.5772 GB, free: 4.422 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01468/0.4639, allocations: 5.491 MB / 0.5826 GB, free: 14.92 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003668/0.4675, allocations: 131.3 kB / 0.5827 GB, free: 14.79 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01163/0.4792, allocations: 5.195 MB / 0.5878 GB, free: 9.578 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01009/0.4893, allocations: 2.681 MB / 0.5904 GB, free: 6.887 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.4938, allocations: 1.384 MB / 0.5918 GB, free: 5.5 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01438/0.5082, allocations: 8.269 MB / 0.5998 GB, free: 13.22 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.008153/0.5163, allocations: 4.843 MB / 0.6046 GB, free: 8.289 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.007295/0.5236, allocations: 2.82 MB / 0.6073 GB, free: 5.461 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.007373/0.531, allocations: 4.023 MB / 0.6113 GB, free: 1.426 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00234/0.5333, allocations: 0.6328 MB / 0.6119 GB, free: 0.793 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.5382, allocations: 1.826 MB / 0.6137 GB, free: 14.96 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.004676/0.5429, allocations: 3.425 MB / 0.617 GB, free: 11.53 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00676/0.5496, allocations: 3.691 MB / 0.6206 GB, free: 7.816 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01936/0.569, allocations: 11.97 MB / 0.6323 GB, free: 11.8 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.569, allocations: 3.938 kB / 0.6323 GB, free: 11.8 MB / 478.1 MB
Notification: Performance of FrontEnd: time 2.284e-06/0.569, allocations: 4 kB / 0.6323 GB, free: 11.8 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 0.0005023/0.5695, allocations: 0 / 0.6323 GB, free: 11.8 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: 2166
 * Number of variables: 2166
Notification: Performance of Generate backend data structure: time 0.02495/0.5945, allocations: 8.002 MB / 0.6401 GB, free: 3.719 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5945, allocations: 12.03 kB / 0.6401 GB, free: 3.707 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.6106, allocations: 3.093 MB / 0.6431 GB, free: 0.6055 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.6241, allocations: 4.979 MB / 0.648 GB, free: 11.54 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/0.6245, allocations: 378.2 kB / 0.6484 GB, free: 11.17 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/0.6268, allocations: 0.5153 MB / 0.6489 GB, free: 10.65 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03415/0.661, allocations: 15.52 MB / 0.664 GB, free: 10.23 MB / 0.4981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.6612, allocations: 59.53 kB / 0.6641 GB, free: 10.17 MB / 0.4981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009147/0.6621, allocations: 235.8 kB / 0.6643 GB, free: 9.941 MB / 0.4981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00437/0.6665, allocations: 2.548 MB / 0.6668 GB, free: 7.387 MB / 0.4981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03012/0.6966, allocations: 13.11 MB / 0.6796 GB, free: 10.25 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4493/1.146, allocations: 57.23 MB / 0.7355 GB, free: 139.1 MB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01823/1.164, allocations: 5.71 MB / 0.7411 GB, free: 139 MB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/1.168, allocations: 3.233 MB / 0.7442 GB, free: 138.9 MB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01856/1.187, allocations: 10.02 MB / 0.754 GB, free: 135.4 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/1.187, allocations: 64.47 kB / 0.7541 GB, free: 135.4 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=248): time 5.881e-06/1.187, allocations: 3.469 kB / 0.7541 GB, free: 135.4 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=343): time 0.1353/1.322, allocations: 39.05 MB / 0.7922 GB, free: 105.5 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/1.322, allocations: 252.4 kB / 0.7925 GB, free: 105.2 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.333, allocations: 5.715 MB / 0.798 GB, free: 99.64 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0009518/1.333, allocations: 77.7 kB / 0.7981 GB, free: 99.56 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002639/1.336, allocations: 4.503 MB / 0.8025 GB, free: 95.4 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.338, allocations: 1.321 MB / 0.8038 GB, free: 94.09 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.004649/1.342, allocations: 1.766 MB / 0.8055 GB, free: 92.31 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 4.576e-05/1.343, allocations: 301.1 kB / 0.8058 GB, free: 92.02 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005754/1.348, allocations: 4.089 MB / 0.8098 GB, free: 87.92 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007687/1.356, allocations: 8.672 MB / 0.8183 GB, free: 77.07 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.37, allocations: 13.56 MB / 0.8315 GB, free: 61.33 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000201/1.37, allocations: 51.94 kB / 0.8316 GB, free: 61.28 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03668/1.407, allocations: 16.36 MB / 0.8475 GB, free: 44.88 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0002291/1.407, allocations: 72 kB / 0.8476 GB, free: 44.81 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/1.407, allocations: 156 kB / 0.8478 GB, free: 44.66 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0139/1.421, allocations: 4.291 MB / 0.8519 GB, free: 40.36 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006359/1.428, allocations: 1.899 MB / 0.8538 GB, free: 38.45 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03034/1.458, allocations: 21.46 MB / 0.8748 GB, free: 16.89 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008334/1.466, allocations: 0.5072 MB / 0.8753 GB, free: 16.38 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/1.468, allocations: 484 kB / 0.8757 GB, free: 15.91 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 720
 * Number of states: 0 ()
 * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1031):
 * Single equations (assignments): 1027
 * 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,77,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.007008/1.475, allocations: 3.126 MB / 0.8788 GB, free: 12.77 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/1.477, allocations: 0.5511 MB / 0.8793 GB, free: 12.21 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02301/1.5, allocations: 10.05 MB / 0.8891 GB, free: 2.102 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.293e-05/1.501, allocations: 36 kB / 0.8891 GB, free: 2.066 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-05/1.501, allocations: 16 kB / 0.8892 GB, free: 2.051 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.255e-05/1.501, allocations: 20.41 kB / 0.8892 GB, free: 2.031 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05049/1.551, allocations: 19.97 MB / 0.9087 GB, free: 13.9 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-05/1.551, allocations: 8 kB / 0.9087 GB, free: 13.89 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/1.554, allocations: 0.4953 MB / 0.9092 GB, free: 13.39 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01406/1.568, allocations: 3.838 MB / 0.9129 GB, free: 9.551 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007441/1.569, allocations: 71.86 kB / 0.913 GB, free: 9.48 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03309/1.602, allocations: 19.01 MB / 0.9316 GB, free: 6.352 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.602, allocations: 11.94 kB / 0.9316 GB, free: 6.34 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03275/1.635, allocations: 14.9 MB / 0.9461 GB, free: 7.242 MB / 0.6231 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.637, allocations: 0.5235 MB / 0.9466 GB, free: 6.715 MB / 0.6231 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.638, allocations: 67.92 kB / 0.9467 GB, free: 6.648 MB / 0.6231 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.641, allocations: 231.7 kB / 0.9469 GB, free: 6.422 MB / 0.6231 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008655/1.642, allocations: 242.1 kB / 0.9471 GB, free: 6.184 MB / 0.6231 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/1.642, allocations: 92 kB / 0.9472 GB, free: 6.094 MB / 0.6231 GB
Notification: Performance of sorting global known variables: time 0.006716/1.649, allocations: 3.604 MB / 0.9508 GB, free: 2.516 MB / 0.6231 GB
Notification: Performance of sort global known variables: time 1.2e-07/1.649, allocations: 0 / 0.9508 GB, free: 2.516 MB / 0.6231 GB
Notification: Performance of remove unused functions: time 0.01024/1.659, allocations: 1.769 MB / 0.9525 GB, free: 0.75 MB / 0.6231 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 32
 * 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 (261):
 * Single equations (assignments): 257
 * 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,64,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0009592/1.66, allocations: 252.6 kB / 0.9527 GB, free: 0.4922 MB / 0.6231 GB
Notification: Performance of simCode: created initialization part: time 0.01838/1.679, allocations: 9.354 MB / 0.9619 GB, free: 7.137 MB / 0.6387 GB
Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.679, allocations: 4 kB / 0.9619 GB, free: 7.133 MB / 0.6387 GB
Notification: Performance of simCode: created simulation system equations: time 0.006523/1.685, allocations: 3.437 MB / 0.9652 GB, free: 3.676 MB / 0.6387 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/1.69, allocations: 0.7269 MB / 0.9659 GB, free: 2.961 MB / 0.6387 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.316/2.006, allocations: 16.23 MB / 0.9818 GB, free: 224.9 MB / 0.6544 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008476/2.015, allocations: 4.83 MB / 0.9865 GB, free: 224.1 MB / 0.6544 GB
Notification: Performance of simCode: alias equations: time 0.006265/2.021, allocations: 2.573 MB / 0.989 GB, free: 224 MB / 0.6544 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/2.023, allocations: 355.1 kB / 0.9893 GB, free: 224 MB / 0.6544 GB
Notification: Performance of SimCode: time 2.014e-06/2.023, allocations: 0 / 0.9893 GB, free: 224 MB / 0.6544 GB
Notification: Performance of Templates: time 0.1169/2.14, allocations: 77.79 MB / 1.065 GB, free: 160.1 MB / 0.6544 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.796060007996857]