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.00114/0.00114, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001222/0.001223, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.427/1.427, allocations: 205.1 MB / 223.9 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.209/0.209, allocations: 43.53 MB / 314.8 MB, free: 456 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.001497/0.001497, allocations: 69.47 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01772/0.1401, allocations: 16.06 MB / 0.5042 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.153, allocations: 5.445 MB / 0.5095 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.1562, allocations: 111.6 kB / 0.5096 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009508/0.1658, allocations: 5.125 MB / 0.5146 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007892/0.1737, allocations: 2.645 MB / 0.5172 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.1774, allocations: 1.384 MB / 0.5186 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.1894, allocations: 7.603 MB / 0.526 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.277/0.4664, allocations: 7.03 MB / 0.5329 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005858/0.4723, allocations: 2.782 MB / 0.5356 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006931/0.4793, allocations: 3.767 MB / 0.5393 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.481, allocations: 0.6372 MB / 0.5399 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.4851, allocations: 1.78 MB / 0.5416 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004514/0.4897, allocations: 3.389 MB / 0.5449 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005132/0.4948, allocations: 3.719 MB / 0.5486 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.5095, allocations: 12 MB / 0.5603 GB, free: 3.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.5095, allocations: 0 / 0.5603 GB, free: 3.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5095, allocations: 0 / 0.5603 GB, free: 3.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003957/0.5099, allocations: 0 / 0.5603 GB, free: 3.156 MB / 414.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.0225/0.5324, allocations: 7.923 MB / 0.568 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.5325, allocations: 12.05 kB / 0.568 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.5468, allocations: 3.048 MB / 0.571 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.5602, allocations: 5.278 MB / 0.5762 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.5605, allocations: 381.6 kB / 0.5765 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.5624, allocations: 0.5098 MB / 0.577 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0315/0.5939, allocations: 15.52 MB / 0.5922 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003455/0.5943, allocations: 63.19 kB / 0.5923 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002063/0.5964, allocations: 231.8 kB / 0.5925 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004382/0.6008, allocations: 2.551 MB / 0.595 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03107/0.6319, allocations: 13.1 MB / 0.6078 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08475/0.7167, allocations: 57.33 MB / 0.6637 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/0.7345, allocations: 6.382 MB / 0.67 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005732/0.7403, allocations: 3.444 MB / 0.6733 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02149/0.7618, allocations: 11.56 MB / 0.6846 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/0.7619, allocations: 64.03 kB / 0.6847 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 7.414e-06/0.762, allocations: 0 / 0.6847 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1428/0.9048, allocations: 39.62 MB / 0.7234 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.9049, allocations: 235.9 kB / 0.7236 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/0.9157, allocations: 5.747 MB / 0.7292 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008878/0.9166, allocations: 81.7 kB / 0.7293 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003658/0.9203, allocations: 4.355 MB / 0.7335 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001878/0.9222, allocations: 1.265 MB / 0.7348 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004622/0.9268, allocations: 1.749 MB / 0.7365 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9269, allocations: 304.4 kB / 0.7368 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006929/0.9339, allocations: 4.088 MB / 0.7408 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/0.9449, allocations: 8.661 MB / 0.7492 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2802/1.225, allocations: 13.57 MB / 0.7625 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.225, allocations: 44.47 kB / 0.7625 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03781/1.263, allocations: 16.37 MB / 0.7785 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.263, allocations: 72.88 kB / 0.7786 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002114/1.264, allocations: 159.3 kB / 0.7787 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/1.277, allocations: 4.282 MB / 0.7829 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006994/1.284, allocations: 1.901 MB / 0.7848 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02866/1.313, allocations: 21.54 MB / 0.8058 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007363/1.32, allocations: 0.5072 MB / 0.8063 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/1.322, allocations: 479.8 kB / 0.8068 GB, free: 175.1 MB / 0.5919 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.006707/1.328, allocations: 3.129 MB / 0.8098 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.33, allocations: 0.5154 MB / 0.8103 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/1.351, allocations: 10.12 MB / 0.8202 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.135e-05/1.351, allocations: 15.94 kB / 0.8202 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.351, allocations: 0 / 0.8202 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/1.354, allocations: 1.183 MB / 0.8214 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/1.356, allocations: 56 kB / 0.8214 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.359, allocations: 227.7 kB / 0.8216 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008348/1.36, allocations: 257.8 kB / 0.8219 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01716/1.377, allocations: 9.769 MB / 0.8314 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01248/1.39, allocations: 11.37 MB / 0.8425 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003217/1.393, allocations: 3.222 MB / 0.8457 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007165/1.4, allocations: 3.628 MB / 0.8492 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of Backend: time 6.11e-07/1.4, allocations: 0 / 0.8492 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.419, allocations: 7.355 MB / 0.8564 GB, free: 127 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02658/1.445, allocations: 14.3 MB / 0.8704 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1341/1.579, allocations: 89.51 MB / 0.9578 GB, free: 23.33 MB / 0.5919 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/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