Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 185.4 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 223.1 MB, free: 5.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3972/0.3972, allocations: 43.57 MB / 315 MB, free: 8.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005011, allocations: 12 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3528/0.4831, allocations: 66.77 MB / 0.4983 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04425/0.5274, allocations: 14.19 MB / 0.5121 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02316/0.5506, allocations: 300.1 kB / 0.5124 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.5543, allocations: 0.5861 MB / 0.513 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.5656, allocations: 2.494 MB / 0.5154 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.5701, allocations: 1.282 MB / 0.5167 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02263/0.5927, allocations: 10.92 MB / 0.5273 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01662/0.6094, allocations: 9.549 MB / 0.5367 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005947/0.6154, allocations: 1.996 MB / 0.5386 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007192/0.6226, allocations: 3.399 MB / 0.5419 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001634/0.6243, allocations: 236 kB / 0.5421 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.6289, allocations: 1.478 MB / 0.5436 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003893/0.6328, allocations: 2.891 MB / 0.5464 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006175/0.639, allocations: 3.193 MB / 0.5495 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0183/0.6574, allocations: 11.16 MB / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.6574, allocations: 0 / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.6574, allocations: 3.938 kB / 0.5604 GB, free: 7.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005561/0.658, allocations: 0 / 0.5604 GB, free: 7.984 MB / 430.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.0199/0.6779, allocations: 6.528 MB / 0.5668 GB, free: 1.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.678, allocations: 8.031 kB / 0.5668 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.6943, allocations: 3.116 MB / 0.5699 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/0.7093, allocations: 5.174 MB / 0.5749 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005639/0.7099, allocations: 378.4 kB / 0.5753 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/0.7134, allocations: 0.5152 MB / 0.5758 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/0.7553, allocations: 15.56 MB / 0.591 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004834/0.7559, allocations: 67.42 kB / 0.591 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00246/0.7584, allocations: 231.8 kB / 0.5913 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004508/0.7629, allocations: 2.548 MB / 0.5937 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03151/0.7944, allocations: 13.15 MB / 0.6066 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3867/1.181, allocations: 57.58 MB / 0.6628 GB, free: 101 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/1.201, allocations: 6.42 MB / 0.6691 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005872/1.207, allocations: 3.441 MB / 0.6724 GB, free: 98.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0289/1.236, allocations: 11.58 MB / 0.6838 GB, free: 92.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.469e-05/1.236, allocations: 61.86 kB / 0.6838 GB, free: 92.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 8.466e-06/1.236, allocations: 1.375 kB / 0.6838 GB, free: 92.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1504/1.386, allocations: 39.64 MB / 0.7225 GB, free: 76.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.387, allocations: 243.9 kB / 0.7228 GB, free: 76.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007909/1.395, allocations: 5.731 MB / 0.7284 GB, free: 70.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001011/1.396, allocations: 77.7 kB / 0.7284 GB, free: 70.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002584/1.398, allocations: 4.353 MB / 0.7327 GB, free: 65.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.4, allocations: 1.263 MB / 0.7339 GB, free: 64.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009033/1.401, allocations: 0.7621 MB / 0.7347 GB, free: 63.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/1.401, allocations: 305.1 kB / 0.735 GB, free: 63.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/1.406, allocations: 4.085 MB / 0.7389 GB, free: 59.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00716/1.413, allocations: 8.672 MB / 0.7474 GB, free: 48.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.427, allocations: 13.55 MB / 0.7606 GB, free: 32.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.427, allocations: 48 kB / 0.7607 GB, free: 32.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03287/1.46, allocations: 16.38 MB / 0.7767 GB, free: 16.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/1.46, allocations: 79.98 kB / 0.7768 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.46, allocations: 159.4 kB / 0.7769 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/1.473, allocations: 4.29 MB / 0.7811 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006558/1.48, allocations: 1.899 MB / 0.783 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02953/1.509, allocations: 20.18 MB / 0.8027 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00765/1.517, allocations: 0.5071 MB / 0.8032 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/1.519, allocations: 482.7 kB / 0.8036 GB, free: 4.613 MB / 0.4981 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.006555/1.525, allocations: 3.13 MB / 0.8067 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.527, allocations: 0.5246 MB / 0.8072 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02336/1.55, allocations: 10.11 MB / 0.8171 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.421e-05/1.55, allocations: 38.89 kB / 0.8171 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/1.55, allocations: 16 kB / 0.8171 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/1.55, allocations: 15.94 kB / 0.8171 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3238/1.874, allocations: 20.16 MB / 0.8368 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-05/1.874, allocations: 6.188 kB / 0.8368 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.876, allocations: 0.4984 MB / 0.8373 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01222/1.889, allocations: 3.841 MB / 0.8411 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000773/1.89, allocations: 69.19 kB / 0.8411 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02914/1.919, allocations: 17.81 MB / 0.8585 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.919, allocations: 12.19 kB / 0.8585 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03003/1.949, allocations: 14.9 MB / 0.8731 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004001/1.953, allocations: 1.174 MB / 0.8742 GB, free: 137 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/1.955, allocations: 73.62 kB / 0.8743 GB, free: 137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003955/1.959, allocations: 237.7 kB / 0.8745 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/1.96, allocations: 225.8 kB / 0.8747 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003214/1.96, allocations: 94.22 kB / 0.8748 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006755/1.967, allocations: 3.628 MB / 0.8784 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/1.967, allocations: 0 / 0.8784 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01188/1.979, allocations: 1.787 MB / 0.8801 GB, free: 135.5 MB / 0.5137 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.001125/1.98, allocations: 264.1 kB / 0.8804 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01465/1.994, allocations: 9.797 MB / 0.8899 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/1.995, allocations: 3.156 kB / 0.8899 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005621/2, allocations: 3.79 MB / 0.8936 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01098/2.011, allocations: 0.7048 MB / 0.8943 GB, free: 127.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/2.038, allocations: 19.28 MB / 0.9132 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005032/2.043, allocations: 4.839 MB / 0.9179 GB, free: 104.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007365/2.051, allocations: 2.573 MB / 0.9204 GB, free: 102.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/2.052, allocations: 359.4 kB / 0.9207 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/2.052, allocations: 0 / 0.9207 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1124/2.165, allocations: 74.44 MB / 0.9934 GB, free: 27.48 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches