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.001854/0.001854, allocations: 107.4 kB / 17.03 MB, free: 5.66 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.002291/0.002291, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.656/1.656, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2288/0.2288, allocations: 43.53 MB / 314.7 MB, free: 464 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.001831/0.001831, allocations: 72.78 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1236, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01659/0.1402, allocations: 16.05 MB / 458 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.153, allocations: 5.445 MB / 463.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/0.1569, allocations: 107.7 kB / 463.6 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.167, allocations: 5.132 MB / 468.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008515/0.1756, allocations: 2.63 MB / 471.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.1793, allocations: 1.388 MB / 472.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.1908, allocations: 7.598 MB / 480.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009525/0.2004, allocations: 7.044 MB / 487.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.2057, allocations: 2.769 MB / 490.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005975/0.2117, allocations: 3.759 MB / 493.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002239/0.214, allocations: 0.6367 MB / 494.5 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006696/0.2207, allocations: 1.779 MB / 496.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006277/0.227, allocations: 3.344 MB / 499.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009477/0.2365, allocations: 3.718 MB / 0.4916 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.252, allocations: 11.98 MB / 0.5033 GB, free: 12.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.252, allocations: 4 kB / 0.5033 GB, free: 12.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.252, allocations: 0 / 0.5033 GB, free: 12.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004084/0.2524, allocations: 0 / 0.5033 GB, free: 12.42 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.02147/0.2739, allocations: 7.928 MB / 0.511 GB, free: 4.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.274, allocations: 15.89 kB / 0.511 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.288, allocations: 3.046 MB / 0.514 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.3009, allocations: 5.279 MB / 0.5192 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.3012, allocations: 378.2 kB / 0.5195 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/0.3033, allocations: 0.5113 MB / 0.52 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3033/0.6066, allocations: 15.51 MB / 0.5352 GB, free: 77.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003853/0.607, allocations: 65.12 kB / 0.5352 GB, free: 77.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/0.6081, allocations: 236.4 kB / 0.5355 GB, free: 77.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004992/0.6131, allocations: 2.55 MB / 0.5379 GB, free: 77.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/0.6438, allocations: 13.1 MB / 0.5507 GB, free: 73.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06778/0.7116, allocations: 57.34 MB / 0.6067 GB, free: 20.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.7266, allocations: 6.384 MB / 0.613 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/0.7305, allocations: 3.444 MB / 0.6163 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01834/0.7488, allocations: 11.57 MB / 0.6276 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/0.749, allocations: 60.5 kB / 0.6277 GB, free: 14.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 5.56e-06/0.749, allocations: 0 / 0.6277 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=343): time 0.1379/0.8869, allocations: 39.6 MB / 0.6663 GB, free: 6.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.8871, allocations: 239.9 kB / 0.6666 GB, free: 6.223 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/0.8972, allocations: 5.739 MB / 0.6722 GB, free: 0.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00114/0.8984, allocations: 77.7 kB / 0.6723 GB, free: 428 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004264/0.9027, allocations: 4.359 MB / 0.6765 GB, free: 12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002238/0.905, allocations: 1.257 MB / 0.6777 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003499/0.9085, allocations: 1.749 MB / 0.6794 GB, free: 8.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9086, allocations: 312.5 kB / 0.6797 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006678/0.9153, allocations: 4.081 MB / 0.6837 GB, free: 4.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/0.9259, allocations: 8.668 MB / 0.6922 GB, free: 9.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01909/0.9451, allocations: 13.56 MB / 0.7054 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001734/0.9453, allocations: 44 kB / 0.7055 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.0382/0.9835, allocations: 16.39 MB / 0.7215 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.9837, allocations: 72 kB / 0.7216 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000238/0.9839, allocations: 160.1 kB / 0.7217 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/0.9977, allocations: 4.287 MB / 0.7259 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006882/1.005, allocations: 1.891 MB / 0.7277 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3006/1.305, allocations: 21.54 MB / 0.7488 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008511/1.314, allocations: 0.5054 MB / 0.7493 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002127/1.316, allocations: 483.6 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.00657/1.323, allocations: 3.133 MB / 0.7528 GB, free: 160 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/1.324, allocations: 0.5193 MB / 0.7533 GB, free: 160 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/1.345, allocations: 10.11 MB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.158e-05/1.345, allocations: 35.22 kB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.922e-05/1.345, allocations: 15.62 kB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.563e-05/1.345, allocations: 18.69 kB / 0.7632 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04149/1.387, allocations: 20.06 MB / 0.7828 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.982e-05/1.387, allocations: 4 kB / 0.7828 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/1.39, allocations: 0.4953 MB / 0.7833 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01188/1.401, allocations: 3.835 MB / 0.7871 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009531/1.403, allocations: 70.7 kB / 0.7871 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/1.426, allocations: 19.11 MB / 0.8058 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.426, allocations: 14.5 kB / 0.8058 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/1.451, allocations: 14.9 MB / 0.8203 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004552/1.456, allocations: 1.187 MB / 0.8215 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00168/1.457, allocations: 60 kB / 0.8216 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003688/1.461, allocations: 227.7 kB / 0.8218 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008616/1.462, allocations: 233.4 kB / 0.822 GB, free: 106.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/1.462, allocations: 95.98 kB / 0.8221 GB, free: 106.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005755/1.468, allocations: 3.628 MB / 0.8256 GB, free: 103.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/1.468, allocations: 4 kB / 0.8256 GB, free: 103.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01003/1.478, allocations: 1.786 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.001101/1.479, allocations: 261 kB / 0.8276 GB, free: 101.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01528/1.494, allocations: 9.839 MB / 0.8372 GB, free: 91.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/1.494, allocations: 4 kB / 0.8372 GB, free: 91.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005953/1.5, allocations: 3.786 MB / 0.8409 GB, free: 87.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005699/1.506, allocations: 0.7277 MB / 0.8416 GB, free: 86.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/1.534, allocations: 15.93 MB / 0.8572 GB, free: 70.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005651/1.54, allocations: 4.835 MB / 0.8619 GB, free: 66.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007084/1.547, allocations: 2.581 MB / 0.8644 GB, free: 63.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/1.549, allocations: 351.4 kB / 0.8648 GB, free: 63.13 MB / 0.5137 GB Notification: Performance of SimCode: time 1.343e-06/1.549, allocations: 8 kB / 0.8648 GB, free: 63.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.3917/1.941, allocations: 72.06 MB / 0.9352 GB, free: 160 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 cvode -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