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.001266/0.001266, allocations: 103.3 kB / 17.02 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 196.1 kB / 17.96 MB, free: 5.215 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.43/1.43, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2056/0.2056, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001485/0.001485, allocations: 68.33 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09887, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01466/0.1136, allocations: 16.05 MB / 458 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1246, allocations: 5.453 MB / 463.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.1274, allocations: 111.6 kB / 463.6 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009223/0.1367, allocations: 5.125 MB / 468.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00723/0.1439, allocations: 2.63 MB / 471.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.147, allocations: 1.396 MB / 472.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009778/0.1568, allocations: 7.603 MB / 480.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007888/0.1647, allocations: 7.024 MB / 487.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.1696, allocations: 2.789 MB / 490.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006065/0.1757, allocations: 3.755 MB / 493.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.1776, allocations: 0.6328 MB / 494.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.1815, allocations: 1.783 MB / 496.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003725/0.1852, allocations: 3.344 MB / 499.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005168/0.1904, allocations: 3.718 MB / 0.4916 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.2035, allocations: 11.98 MB / 0.5033 GB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2035, allocations: 0 / 0.5033 GB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.2035, allocations: 0 / 0.5033 GB, free: 12.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003541/0.2039, allocations: 7.938 kB / 0.5033 GB, free: 12.43 MB / 398.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.01699/0.2209, allocations: 7.92 MB / 0.511 GB, free: 4.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.221, allocations: 15.89 kB / 0.511 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.2343, allocations: 3.049 MB / 0.514 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.2469, allocations: 5.279 MB / 0.5192 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.2473, allocations: 382.2 kB / 0.5195 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/0.2496, allocations: 0.5074 MB / 0.52 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2127/0.4623, allocations: 15.51 MB / 0.5352 GB, free: 77.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/0.4625, allocations: 61.61 kB / 0.5352 GB, free: 77.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000639/0.4631, allocations: 238.6 kB / 0.5355 GB, free: 77.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.4668, allocations: 2.552 MB / 0.5379 GB, free: 77.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02753/0.4943, allocations: 13.1 MB / 0.5507 GB, free: 73.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05606/0.5504, allocations: 57.33 MB / 0.6067 GB, free: 20.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/0.5649, allocations: 6.38 MB / 0.613 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003492/0.5684, allocations: 3.445 MB / 0.6163 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01772/0.5861, allocations: 11.57 MB / 0.6276 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.5862, allocations: 60.56 kB / 0.6277 GB, free: 14.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 7.263e-06/0.5863, allocations: 0 / 0.6277 GB, free: 14.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=343): time 0.1388/0.7251, allocations: 39.58 MB / 0.6663 GB, free: 6.547 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.7252, allocations: 249.8 kB / 0.6666 GB, free: 6.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009952/0.7352, allocations: 5.739 MB / 0.6722 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000808/0.736, allocations: 77.7 kB / 0.6723 GB, free: 460 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003503/0.7396, allocations: 4.359 MB / 0.6765 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001896/0.7415, allocations: 1.257 MB / 0.6777 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003502/0.745, allocations: 1.753 MB / 0.6794 GB, free: 8.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7451, allocations: 301.1 kB / 0.6797 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006193/0.7513, allocations: 4.089 MB / 0.6837 GB, free: 4.598 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009344/0.7607, allocations: 8.664 MB / 0.6922 GB, free: 9.695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01725/0.778, allocations: 13.57 MB / 0.7054 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.7781, allocations: 44 kB / 0.7055 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03383/0.812, allocations: 16.39 MB / 0.7215 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.8122, allocations: 72 kB / 0.7216 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002862/0.8125, allocations: 160 kB / 0.7217 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/0.8267, allocations: 4.276 MB / 0.7259 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/0.8333, allocations: 1.899 MB / 0.7277 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2332/1.067, allocations: 21.54 MB / 0.7488 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006252/1.073, allocations: 0.5073 MB / 0.7493 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.074, allocations: 485.2 kB / 0.7497 GB, free: 161.2 MB / 0.5137 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.004074/1.078, allocations: 3.13 MB / 0.7528 GB, free: 160 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009477/1.079, allocations: 0.5215 MB / 0.7533 GB, free: 160 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/1.097, allocations: 10.1 MB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/1.097, allocations: 37.12 kB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-05/1.097, allocations: 15.62 kB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.406e-05/1.097, allocations: 21.8 kB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05468/1.152, allocations: 20.05 MB / 0.7828 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/1.152, allocations: 8 kB / 0.7828 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/1.156, allocations: 0.498 MB / 0.7833 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01423/1.17, allocations: 3.836 MB / 0.7871 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006821/1.171, allocations: 65.84 kB / 0.7871 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/1.193, allocations: 19.11 MB / 0.8058 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.193, allocations: 11.94 kB / 0.8058 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/1.217, allocations: 14.9 MB / 0.8203 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00422/1.221, allocations: 1.172 MB / 0.8215 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.222, allocations: 60 kB / 0.8215 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/1.226, allocations: 230.8 kB / 0.8218 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00069/1.226, allocations: 239.1 kB / 0.822 GB, free: 107 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.227, allocations: 92 kB / 0.8221 GB, free: 106.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004679/1.231, allocations: 3.628 MB / 0.8256 GB, free: 103.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.6e-07/1.231, allocations: 0 / 0.8256 GB, free: 103.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006537/1.238, allocations: 1.785 MB / 0.8274 GB, free: 101.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.0007016/1.239, allocations: 258.2 kB / 0.8276 GB, free: 101.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.251, allocations: 9.844 MB / 0.8372 GB, free: 91.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.251, allocations: 4 kB / 0.8372 GB, free: 91.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004508/1.255, allocations: 3.786 MB / 0.8409 GB, free: 87.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.259, allocations: 0.7304 MB / 0.8416 GB, free: 87.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.28, allocations: 15.93 MB / 0.8572 GB, free: 70.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004621/1.285, allocations: 4.835 MB / 0.8619 GB, free: 66.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005494/1.29, allocations: 2.581 MB / 0.8644 GB, free: 63.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.292, allocations: 351.4 kB / 0.8648 GB, free: 63.19 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/1.292, allocations: 0 / 0.8648 GB, free: 63.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.309/1.601, allocations: 72.07 MB / 0.9352 GB, free: 159.9 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches