Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 186.2 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.2344/0.2344, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP")
translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 71.88 kB / 497.7 MB, free: 1.027 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4992, allocations: 64.29 MB / 0.5488 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02141/0.5206, allocations: 16.13 MB / 0.5646 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01595/0.5366, allocations: 5.502 MB / 0.5699 GB, free: 9.754 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004489/0.541, allocations: 135.3 kB / 0.5701 GB, free: 9.621 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01194/0.553, allocations: 5.226 MB / 0.5752 GB, free: 4.379 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01075/0.5637, allocations: 2.696 MB / 0.5778 GB, free: 1.672 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.5684, allocations: 1.4 MB / 0.5792 GB, free: 280 kB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01496/0.5833, allocations: 8.126 MB / 0.5871 GB, free: 8.129 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.007653/0.591, allocations: 4.847 MB / 0.5918 GB, free: 3.195 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.006878/0.5979, allocations: 2.82 MB / 0.5946 GB, free: 376 kB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.008147/0.606, allocations: 4.02 MB / 0.5985 GB, free: 12.34 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002885/0.6089, allocations: 0.6367 MB / 0.5991 GB, free: 11.7 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.6147, allocations: 1.845 MB / 0.6009 GB, free: 9.852 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.006673/0.6214, allocations: 3.444 MB / 0.6043 GB, free: 6.398 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.008748/0.6301, allocations: 3.718 MB / 0.6079 GB, free: 2.66 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02284/0.653, allocations: 12.03 MB / 0.6197 GB, free: 6.586 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.653, allocations: 0 / 0.6197 GB, free: 6.586 MB / 462.1 MB
Notification: Performance of FrontEnd: time 2.344e-06/0.653, allocations: 4 kB / 0.6197 GB, free: 6.582 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0005515/0.6535, allocations: 0 / 0.6197 GB, free: 6.582 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: 2166
 * Number of variables: 2166
Notification: Performance of Generate backend data structure: time 0.02752/0.681, allocations: 8.033 MB / 0.6275 GB, free: 14.47 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6811, allocations: 12.92 kB / 0.6275 GB, free: 14.46 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/0.6977, allocations: 3.093 MB / 0.6305 GB, free: 11.36 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.7115, allocations: 5.046 MB / 0.6355 GB, free: 6.227 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/0.7119, allocations: 382.2 kB / 0.6358 GB, free: 5.852 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.7141, allocations: 0.5191 MB / 0.6363 GB, free: 5.332 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03386/0.7479, allocations: 15.51 MB / 0.6515 GB, free: 4.922 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/0.7481, allocations: 63.53 kB / 0.6516 GB, free: 4.859 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008264/0.749, allocations: 239.8 kB / 0.6518 GB, free: 4.625 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004579/0.7535, allocations: 2.544 MB / 0.6543 GB, free: 2.074 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03054/0.7841, allocations: 13.1 MB / 0.6671 GB, free: 4.957 MB / 0.4981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08951/0.8736, allocations: 57.23 MB / 0.7229 GB, free: 10.13 MB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01927/0.8928, allocations: 5.716 MB / 0.7285 GB, free: 4.371 MB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00569/0.8985, allocations: 3.235 MB / 0.7317 GB, free: 1.125 MB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.3178/1.216, allocations: 10.02 MB / 0.7415 GB, free: 158.1 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/1.216, allocations: 65.19 kB / 0.7415 GB, free: 158.1 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=248): time 4.379e-06/1.216, allocations: 0 / 0.7415 GB, free: 158.1 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=343): time 0.1373/1.354, allocations: 39.47 MB / 0.7801 GB, free: 129.8 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/1.354, allocations: 239.9 kB / 0.7803 GB, free: 129.5 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008878/1.363, allocations: 5.717 MB / 0.7859 GB, free: 123.9 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0009061/1.364, allocations: 81.69 kB / 0.786 GB, free: 123.8 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002659/1.366, allocations: 4.512 MB / 0.7904 GB, free: 119.7 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.368, allocations: 1.318 MB / 0.7917 GB, free: 118.4 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.004604/1.373, allocations: 1.764 MB / 0.7934 GB, free: 116.6 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 8.042e-05/1.373, allocations: 305.1 kB / 0.7937 GB, free: 116.3 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00581/1.379, allocations: 4.089 MB / 0.7977 GB, free: 112.2 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.008138/1.387, allocations: 8.676 MB / 0.8061 GB, free: 101.3 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.402, allocations: 13.55 MB / 0.8194 GB, free: 85.52 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001736/1.402, allocations: 48 kB / 0.8194 GB, free: 85.47 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04252/1.444, allocations: 16.35 MB / 0.8354 GB, free: 69.08 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0003066/1.445, allocations: 72 kB / 0.8355 GB, free: 69.01 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003374/1.445, allocations: 164.1 kB / 0.8356 GB, free: 68.85 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.02464/1.47, allocations: 4.281 MB / 0.8398 GB, free: 64.56 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/1.481, allocations: 1.899 MB / 0.8417 GB, free: 62.66 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05361/1.535, allocations: 21.45 MB / 0.8626 GB, free: 41.11 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/1.548, allocations: 0.5073 MB / 0.8631 GB, free: 40.6 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00249/1.551, allocations: 480 kB / 0.8636 GB, free: 40.13 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.009049/1.56, allocations: 3.121 MB / 0.8666 GB, free: 37 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/1.562, allocations: 0.5433 MB / 0.8671 GB, free: 36.45 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02194/1.583, allocations: 10.06 MB / 0.877 GB, free: 26.32 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.506e-05/1.584, allocations: 36 kB / 0.877 GB, free: 26.29 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-05/1.584, allocations: 12 kB / 0.877 GB, free: 26.28 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/1.584, allocations: 23.94 kB / 0.877 GB, free: 26.25 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04038/1.624, allocations: 19.97 MB / 0.8965 GB, free: 6.121 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.054e-05/1.624, allocations: 8 kB / 0.8965 GB, free: 6.113 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.627, allocations: 0.4953 MB / 0.897 GB, free: 5.617 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01273/1.639, allocations: 3.841 MB / 0.9008 GB, free: 1.777 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007828/1.64, allocations: 64 kB / 0.9008 GB, free: 1.715 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03391/1.674, allocations: 19.04 MB / 0.9194 GB, free: 14.56 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/1.674, allocations: 11.94 kB / 0.9194 GB, free: 14.55 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03589/1.71, allocations: 14.89 MB / 0.934 GB, free: 15.46 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002762/1.713, allocations: 0.5197 MB / 0.9345 GB, free: 14.94 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/1.715, allocations: 63.98 kB / 0.9345 GB, free: 14.88 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005114/1.72, allocations: 231.6 kB / 0.9348 GB, free: 14.65 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/1.722, allocations: 238.3 kB / 0.935 GB, free: 14.41 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008422/1.723, allocations: 95.98 kB / 0.9351 GB, free: 14.32 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 0.009356/1.732, allocations: 3.6 MB / 0.9386 GB, free: 10.75 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 3.41e-07/1.732, allocations: 0 / 0.9386 GB, free: 10.75 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.01095/1.743, allocations: 1.797 MB / 0.9404 GB, free: 8.953 MB / 0.6075 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.001756/1.745, allocations: 254.3 kB / 0.9406 GB, free: 8.695 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 0.02134/1.766, allocations: 9.347 MB / 0.9497 GB, free: 15.34 MB / 0.6231 GB
Notification: Performance of simCode: created event and clocks part: time 1.648e-05/1.766, allocations: 4.75 kB / 0.9497 GB, free: 15.34 MB / 0.6231 GB
Notification: Performance of simCode: created simulation system equations: time 0.008169/1.774, allocations: 3.446 MB / 0.9531 GB, free: 11.88 MB / 0.6231 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008783/1.783, allocations: 0.7285 MB / 0.9538 GB, free: 11.15 MB / 0.6231 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3327/2.116, allocations: 16.22 MB / 0.9696 GB, free: 219.8 MB / 0.6387 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00968/2.125, allocations: 4.827 MB / 0.9744 GB, free: 218.9 MB / 0.6387 GB
Notification: Performance of simCode: alias equations: time 0.006895/2.132, allocations: 2.578 MB / 0.9769 GB, free: 218.8 MB / 0.6387 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/2.134, allocations: 351.3 kB / 0.9772 GB, free: 218.8 MB / 0.6387 GB
Notification: Performance of SimCode: time 1.593e-06/2.134, allocations: 3.625 kB / 0.9772 GB, free: 218.8 MB / 0.6387 GB
Notification: Performance of Templates: time 0.1216/2.255, allocations: 78.03 MB / 1.053 GB, free: 155.8 MB / 0.6387 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.693458967842162]