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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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.001526/0.001526, allocations: 110.5 kB / 18.45 MB, free: 4.617 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.001641/0.001641, allocations: 188.2 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4468, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01854/0.4654, allocations: 16.01 MB / 0.5352 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.4783, allocations: 5.445 MB / 0.5405 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.4817, allocations: 108.6 kB / 0.5406 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.4923, allocations: 5.139 MB / 0.5456 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009429/0.5018, allocations: 2.696 MB / 0.5483 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004772/0.5066, allocations: 1.394 MB / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01578/0.5224, allocations: 8.103 MB / 0.5575 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.5342, allocations: 7.038 MB / 0.5644 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00679/0.541, allocations: 2.769 MB / 0.5671 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00709/0.5481, allocations: 3.759 MB / 0.5708 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002467/0.5506, allocations: 0.6328 MB / 0.5714 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.556, allocations: 1.791 MB / 0.5732 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005184/0.5612, allocations: 3.375 MB / 0.5764 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008147/0.5694, allocations: 3.714 MB / 0.5801 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.587, allocations: 11.97 MB / 0.5918 GB, free: 1.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.5871, allocations: 0 / 0.5918 GB, free: 1.836 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5871, allocations: 4 kB / 0.5918 GB, free: 1.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004981/0.5876, allocations: 4 kB / 0.5918 GB, free: 1.828 MB / 446.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.02472/0.6123, allocations: 7.908 MB / 0.5995 GB, free: 9.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.6124, allocations: 8.031 kB / 0.5995 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.6293, allocations: 3.061 MB / 0.6025 GB, free: 6.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.6443, allocations: 5.123 MB / 0.6075 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/0.6449, allocations: 382.2 kB / 0.6079 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002721/0.6477, allocations: 0.5074 MB / 0.6084 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03876/0.6865, allocations: 15.51 MB / 0.6235 GB, free: 256 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003866/0.6869, allocations: 67.36 kB / 0.6236 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002026/0.6889, allocations: 231.8 kB / 0.6238 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004648/0.6936, allocations: 2.552 MB / 0.6263 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03015/0.7238, allocations: 13.09 MB / 0.6391 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08683/0.8106, allocations: 57.31 MB / 0.695 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/0.8292, allocations: 6.379 MB / 0.7013 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004987/0.8342, allocations: 3.446 MB / 0.7046 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3535/1.188, allocations: 11.56 MB / 0.7159 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/1.188, allocations: 60.67 kB / 0.716 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 5.932e-06/1.188, allocations: 0 / 0.716 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1402/1.328, allocations: 39.54 MB / 0.7546 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.328, allocations: 235.9 kB / 0.7548 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009947/1.338, allocations: 5.706 MB / 0.7604 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001211/1.339, allocations: 81.3 kB / 0.7605 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00332/1.343, allocations: 4.349 MB / 0.7647 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/1.344, allocations: 1.259 MB / 0.766 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003955/1.348, allocations: 1.761 MB / 0.7677 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.649e-05/1.348, allocations: 305.1 kB / 0.768 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005296/1.354, allocations: 4.089 MB / 0.772 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006822/1.361, allocations: 8.667 MB / 0.7804 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/1.375, allocations: 13.56 MB / 0.7937 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/1.375, allocations: 44 kB / 0.7937 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03013/1.405, allocations: 16.38 MB / 0.8097 GB, free: 88.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/1.405, allocations: 72 kB / 0.8098 GB, free: 88.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003459/1.406, allocations: 156 kB / 0.8099 GB, free: 88.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/1.419, allocations: 4.281 MB / 0.8141 GB, free: 83.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/1.425, allocations: 1.907 MB / 0.816 GB, free: 81.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02804/1.453, allocations: 21.54 MB / 0.837 GB, free: 60.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00712/1.46, allocations: 0.4993 MB / 0.8375 GB, free: 59.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.462, allocations: 484 kB / 0.8379 GB, free: 59.3 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.005368/1.467, allocations: 3.13 MB / 0.841 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.468, allocations: 0.5207 MB / 0.8415 GB, free: 55.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/1.488, allocations: 10.1 MB / 0.8514 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.647e-05/1.488, allocations: 15.94 kB / 0.8514 GB, free: 45.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.488, allocations: 0 / 0.8514 GB, free: 45.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.49, allocations: 0.5683 MB / 0.8519 GB, free: 44.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001687/1.492, allocations: 52 kB / 0.852 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/1.496, allocations: 235.6 kB / 0.8522 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007939/1.496, allocations: 265.7 kB / 0.8525 GB, free: 44.31 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01847/1.515, allocations: 9.753 MB / 0.862 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01252/1.527, allocations: 11.37 MB / 0.8731 GB, free: 23.13 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003252/1.531, allocations: 3.223 MB / 0.8762 GB, free: 19.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005767/1.536, allocations: 3.604 MB / 0.8798 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of Backend: time 6.11e-07/1.536, allocations: 0 / 0.8798 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.551, allocations: 7.365 MB / 0.887 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0311/1.582, allocations: 14.26 MB / 0.9009 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.4585/2.04, allocations: 88.35 MB / 0.9872 GB, free: 178.9 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches