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.001235/0.001235, allocations: 119.2 kB / 17.09 MB, free: 5.98 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.001389/0.001389, allocations: 193.2 kB / 18.01 MB, free: 5.059 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.483/1.483, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2313/0.2313, 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.001488/0.001488, allocations: 73.45 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1286, 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.01865/0.1473, allocations: 16.05 MB / 0.5042 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.1608, allocations: 5.437 MB / 0.5095 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.165, allocations: 119.6 kB / 0.5096 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.1757, allocations: 5.128 MB / 0.5146 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.1869, allocations: 2.634 MB / 0.5172 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.1913, allocations: 1.392 MB / 0.5186 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.2043, allocations: 7.603 MB / 0.526 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.322/0.5264, allocations: 7.03 MB / 0.5329 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006609/0.5331, allocations: 2.782 MB / 0.5356 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008306/0.5414, allocations: 3.769 MB / 0.5393 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003145/0.5446, allocations: 0.6347 MB / 0.5399 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006303/0.5509, allocations: 1.783 MB / 0.5416 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006556/0.5575, allocations: 3.387 MB / 0.5449 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009933/0.5674, allocations: 3.719 MB / 0.5486 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0211/0.5886, allocations: 12 MB / 0.5603 GB, free: 3.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5886, allocations: 0 / 0.5603 GB, free: 3.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.5886, allocations: 0.5625 kB / 0.5603 GB, free: 3.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005197/0.5892, allocations: 0.8125 kB / 0.5603 GB, free: 3.152 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.02441/0.6136, allocations: 7.924 MB / 0.568 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6136, allocations: 15.7 kB / 0.568 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.6286, allocations: 3.055 MB / 0.571 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.6407, allocations: 5.269 MB / 0.5762 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.6411, allocations: 383.9 kB / 0.5765 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/0.6436, allocations: 0.5092 MB / 0.577 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/0.6777, allocations: 15.52 MB / 0.5922 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003833/0.6782, allocations: 66.48 kB / 0.5922 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002581/0.6808, allocations: 233.5 kB / 0.5925 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004213/0.685, allocations: 2.542 MB / 0.5949 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02907/0.7141, allocations: 13.11 MB / 0.6077 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08667/0.8008, allocations: 57.34 MB / 0.6637 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01808/0.8189, allocations: 6.372 MB / 0.67 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004905/0.8238, allocations: 3.444 MB / 0.6733 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/0.8421, allocations: 11.56 MB / 0.6846 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.8422, allocations: 63.83 kB / 0.6847 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 4.779e-06/0.8422, allocations: 0 / 0.6847 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.15/0.9923, allocations: 39.62 MB / 0.7234 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.9925, allocations: 235.9 kB / 0.7236 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/1.004, allocations: 5.746 MB / 0.7292 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/1.006, allocations: 81.7 kB / 0.7293 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004194/1.01, allocations: 4.351 MB / 0.7335 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002345/1.012, allocations: 1.267 MB / 0.7348 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003456/1.016, allocations: 1.752 MB / 0.7365 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.016, allocations: 301.1 kB / 0.7368 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006435/1.022, allocations: 4.092 MB / 0.7408 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01056/1.033, allocations: 8.66 MB / 0.7492 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3693/1.402, allocations: 13.55 MB / 0.7625 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/1.402, allocations: 45.38 kB / 0.7625 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04395/1.446, allocations: 16.38 MB / 0.7785 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.447, allocations: 74.75 kB / 0.7786 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003905/1.447, allocations: 157.8 kB / 0.7787 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/1.461, allocations: 4.28 MB / 0.7829 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007254/1.468, allocations: 1.894 MB / 0.7848 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02869/1.497, allocations: 21.55 MB / 0.8058 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008395/1.506, allocations: 0.4991 MB / 0.8063 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001902/1.508, allocations: 483.9 kB / 0.8068 GB, free: 175.2 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.00704/1.515, allocations: 3.139 MB / 0.8098 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/1.516, allocations: 0.5154 MB / 0.8103 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.535, allocations: 10.11 MB / 0.8202 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.084e-05/1.535, allocations: 32 kB / 0.8202 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.535, allocations: 16 kB / 0.8202 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.195e-05/1.535, allocations: 15.94 kB / 0.8203 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03598/1.571, allocations: 20.05 MB / 0.8398 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/1.571, allocations: 8 kB / 0.8398 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/1.574, allocations: 0.4922 MB / 0.8403 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/1.586, allocations: 3.838 MB / 0.8441 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008836/1.587, allocations: 74.41 kB / 0.8441 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/1.61, allocations: 19.12 MB / 0.8628 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.61, allocations: 11.94 kB / 0.8628 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/1.635, allocations: 14.9 MB / 0.8774 GB, free: 105.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00354/1.639, allocations: 1.174 MB / 0.8785 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/1.641, allocations: 65.8 kB / 0.8786 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/1.644, allocations: 231.6 kB / 0.8788 GB, free: 103.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008329/1.645, allocations: 226.2 kB / 0.879 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/1.645, allocations: 91.98 kB / 0.8791 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006207/1.652, allocations: 3.632 MB / 0.8827 GB, free: 99.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/1.652, allocations: 0 / 0.8827 GB, free: 99.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00933/1.661, allocations: 1.783 MB / 0.8844 GB, free: 97.97 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.0008975/1.662, allocations: 260.4 kB / 0.8846 GB, free: 97.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01311/1.675, allocations: 9.846 MB / 0.8943 GB, free: 87.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.675, allocations: 0 / 0.8943 GB, free: 87.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004785/1.68, allocations: 3.785 MB / 0.898 GB, free: 84.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005183/1.685, allocations: 0.7257 MB / 0.8987 GB, free: 83.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/1.714, allocations: 16.54 MB / 0.9148 GB, free: 66.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006994/1.721, allocations: 4.791 MB / 0.9195 GB, free: 61.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/1.724, allocations: 410.2 kB / 0.9199 GB, free: 61.47 MB / 0.5919 GB Notification: Performance of SimCode: time 1.312e-06/1.724, allocations: 0 / 0.9199 GB, free: 61.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.4818/2.205, allocations: 123.9 MB / 1.041 GB, free: 147.8 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