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.001381/0.00138, allocations: 107.9 kB / 18.44 MB, free: 4.629 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.001575/0.001575, allocations: 186.3 kB / 19.37 MB, free: 3.707 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.41/1.41, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2164/0.2164, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4, allocations: 60.82 MB / 0.5195 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01825/0.4183, allocations: 16.01 MB / 0.5352 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.4328, allocations: 5.443 MB / 0.5405 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004851/0.4377, allocations: 112.9 kB / 0.5406 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.4479, allocations: 5.128 MB / 0.5456 GB, free: 408 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0093/0.4573, allocations: 2.63 MB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.4613, allocations: 1.389 MB / 0.5495 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01345/0.4747, allocations: 8.095 MB / 0.5574 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008883/0.4837, allocations: 7.044 MB / 0.5643 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/0.4897, allocations: 2.769 MB / 0.567 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006665/0.4964, allocations: 3.755 MB / 0.5707 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.4981, allocations: 0.6328 MB / 0.5713 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/0.5024, allocations: 1.803 MB / 0.5731 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004265/0.5067, allocations: 3.371 MB / 0.5764 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006885/0.5136, allocations: 3.714 MB / 0.58 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01849/0.5321, allocations: 11.98 MB / 0.5917 GB, free: 2.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.5322, allocations: 0 / 0.5917 GB, free: 2.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5322, allocations: 0 / 0.5917 GB, free: 2.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004954/0.5327, allocations: 0 / 0.5917 GB, free: 2.082 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.02542/0.5581, allocations: 7.916 MB / 0.5994 GB, free: 10.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5582, allocations: 12.03 kB / 0.5994 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.5744, allocations: 3.049 MB / 0.6024 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.5885, allocations: 5.123 MB / 0.6074 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004458/0.589, allocations: 378.2 kB / 0.6078 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/0.5915, allocations: 0.5074 MB / 0.6083 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03668/0.6282, allocations: 15.52 MB / 0.6234 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/0.6286, allocations: 67.42 kB / 0.6235 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/0.6306, allocations: 235.8 kB / 0.6237 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004312/0.635, allocations: 2.544 MB / 0.6262 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03006/0.6651, allocations: 13.1 MB / 0.639 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0895/0.7546, allocations: 57.31 MB / 0.695 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/0.774, allocations: 6.375 MB / 0.7012 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005386/0.7794, allocations: 3.447 MB / 0.7046 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3453/1.125, allocations: 11.56 MB / 0.7158 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/1.125, allocations: 58.66 kB / 0.7159 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 6.933e-06/1.125, allocations: 3.469 kB / 0.7159 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1306/1.255, allocations: 39.54 MB / 0.7545 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/1.256, allocations: 243.8 kB / 0.7547 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006792/1.262, allocations: 5.703 MB / 0.7603 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007483/1.263, allocations: 77.7 kB / 0.7604 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.266, allocations: 4.354 MB / 0.7646 GB, free: 141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.268, allocations: 1.257 MB / 0.7659 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002411/1.27, allocations: 1.757 MB / 0.7676 GB, free: 138 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/1.27, allocations: 301.1 kB / 0.7679 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/1.275, allocations: 4.089 MB / 0.7719 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006173/1.281, allocations: 8.667 MB / 0.7803 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.294, allocations: 13.56 MB / 0.7936 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/1.294, allocations: 44 kB / 0.7936 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02866/1.322, allocations: 16.37 MB / 0.8096 GB, free: 90.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.39e-05/1.323, allocations: 76.06 kB / 0.8097 GB, free: 90.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/1.323, allocations: 159.9 kB / 0.8098 GB, free: 90.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/1.335, allocations: 4.279 MB / 0.814 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005739/1.341, allocations: 1.903 MB / 0.8159 GB, free: 84.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02534/1.366, allocations: 21.54 MB / 0.8369 GB, free: 62.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006455/1.373, allocations: 0.5032 MB / 0.8374 GB, free: 61.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/1.374, allocations: 487.8 kB / 0.8379 GB, free: 61.36 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.004423/1.378, allocations: 3.126 MB / 0.8409 GB, free: 58.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009985/1.379, allocations: 0.5168 MB / 0.8414 GB, free: 57.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/1.398, allocations: 10.11 MB / 0.8513 GB, free: 47.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/1.398, allocations: 32 kB / 0.8513 GB, free: 47.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.398, allocations: 16 kB / 0.8513 GB, free: 47.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-05/1.398, allocations: 15.94 kB / 0.8513 GB, free: 47.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03628/1.434, allocations: 20.06 MB / 0.8709 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/1.434, allocations: 8 kB / 0.8709 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.437, allocations: 0.4954 MB / 0.8714 GB, free: 26.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01203/1.449, allocations: 3.833 MB / 0.8752 GB, free: 22.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006668/1.449, allocations: 76.77 kB / 0.8752 GB, free: 22.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/1.473, allocations: 19.1 MB / 0.8939 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.473, allocations: 8 kB / 0.8939 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02763/1.501, allocations: 14.91 MB / 0.9085 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.503, allocations: 0.5685 MB / 0.909 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/1.504, allocations: 63.98 kB / 0.9091 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00374/1.508, allocations: 235.6 kB / 0.9093 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/1.509, allocations: 230.2 kB / 0.9095 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004877/1.51, allocations: 99.27 kB / 0.9096 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007007/1.517, allocations: 3.602 MB / 0.9131 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/1.517, allocations: 0 / 0.9131 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008497/1.525, allocations: 1.785 MB / 0.9149 GB, free: 13.9 MB / 0.5919 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.001026/1.526, allocations: 262.1 kB / 0.9151 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.543, allocations: 9.855 MB / 0.9248 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.543, allocations: 0 / 0.9248 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005856/1.549, allocations: 3.784 MB / 0.9285 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005426/1.554, allocations: 0.7284 MB / 0.9292 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.284/1.838, allocations: 16.48 MB / 0.9453 GB, free: 197.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007541/1.846, allocations: 4.786 MB / 0.9499 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/1.848, allocations: 407.2 kB / 0.9503 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/1.848, allocations: 3.188 kB / 0.9503 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.1571/2.005, allocations: 124.6 MB / 1.072 GB, free: 93.82 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