Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009547/0.0009548, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007216/0.0007216, allocations: 92.86 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2852/0.2852, allocations: 43.57 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.0971, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2125/0.3097, allocations: 62.12 MB / 0.54 GB, free: 6.223 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02756/0.3373, allocations: 13.55 MB / 0.5532 GB, free: 12.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01266/0.35, allocations: 303.8 kB / 0.5535 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009927/0.3599, allocations: 3.204 MB / 0.5566 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02642/0.3864, allocations: 9.607 MB / 0.566 GB, free: 7.727 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005575/0.392, allocations: 1.233 MB / 0.5672 GB, free: 7.266 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.06359/0.4556, allocations: 52.05 MB / 0.6181 GB, free: 8.039 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.4693, allocations: 9.186 MB / 0.627 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.4738, allocations: 2.156 MB / 0.6291 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005224/0.479, allocations: 3.373 MB / 0.6324 GB, free: 9.203 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.4806, allocations: 240 kB / 0.6327 GB, free: 8.969 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00383/0.4845, allocations: 1.459 MB / 0.6341 GB, free: 7.508 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003909/0.4884, allocations: 2.864 MB / 0.6369 GB, free: 4.637 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004943/0.4934, allocations: 3.008 MB / 0.6398 GB, free: 1.605 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.5036, allocations: 9.348 MB / 0.6489 GB, free: 8.234 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5037, allocations: 0 / 0.6489 GB, free: 8.234 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5037, allocations: 0 / 0.6489 GB, free: 8.234 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004583/0.5041, allocations: 0 / 0.6489 GB, free: 8.234 MB / 474.7 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.01513/0.5193, allocations: 6.54 MB / 0.6553 GB, free: 1.613 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5193, allocations: 8.031 kB / 0.6553 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.5328, allocations: 3.12 MB / 0.6584 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.5437, allocations: 5.174 MB / 0.6634 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.5441, allocations: 378.4 kB / 0.6638 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/0.5459, allocations: 0.5074 MB / 0.6643 GB, free: 8.336 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2158/0.7617, allocations: 15.52 MB / 0.6794 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/0.762, allocations: 74.05 kB / 0.6795 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007052/0.7627, allocations: 232.3 kB / 0.6797 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003289/0.766, allocations: 2.543 MB / 0.6822 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.7898, allocations: 13.08 MB / 0.695 GB, free: 130.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06248/0.8523, allocations: 57.59 MB / 0.7512 GB, free: 91.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.8666, allocations: 6.413 MB / 0.7575 GB, free: 87.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003379/0.87, allocations: 3.435 MB / 0.7609 GB, free: 84.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/0.883, allocations: 11.57 MB / 0.7722 GB, free: 72.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.8831, allocations: 64.55 kB / 0.7722 GB, free: 72.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 4.539e-06/0.8831, allocations: 0 / 0.7722 GB, free: 72.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=343): time 0.1119/0.995, allocations: 39.62 MB / 0.8109 GB, free: 32.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.9951, allocations: 251.8 kB / 0.8112 GB, free: 32.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006115/1.001, allocations: 5.7 MB / 0.8167 GB, free: 26.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006096/1.002, allocations: 77.7 kB / 0.8168 GB, free: 26.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/1.004, allocations: 4.357 MB / 0.821 GB, free: 22.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.005, allocations: 1.263 MB / 0.8223 GB, free: 20.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/1.005, allocations: 174.4 kB / 0.8224 GB, free: 20.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000335/1.005, allocations: 0.6738 MB / 0.8231 GB, free: 20 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005922/1.011, allocations: 4.054 MB / 0.8271 GB, free: 15.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007064/1.018, allocations: 8.629 MB / 0.8355 GB, free: 5.066 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/1.034, allocations: 13.52 MB / 0.8487 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/1.034, allocations: 44 kB / 0.8487 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.0339/1.068, allocations: 16.31 MB / 0.8647 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.068, allocations: 75.59 kB / 0.8647 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/1.069, allocations: 160 kB / 0.8649 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0135/1.082, allocations: 4.283 MB / 0.8691 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1978/1.28, allocations: 1.895 MB / 0.8709 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02776/1.308, allocations: 20.16 MB / 0.8906 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/1.314, allocations: 0.5108 MB / 0.8911 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/1.316, allocations: 481.8 kB / 0.8916 GB, free: 146.1 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004899/1.321, allocations: 3.132 MB / 0.8946 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009983/1.322, allocations: 0.517 MB / 0.8951 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.34, allocations: 10.1 MB / 0.905 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.785e-05/1.34, allocations: 35.66 kB / 0.905 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/1.34, allocations: 14.03 kB / 0.905 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.108e-05/1.34, allocations: 20.36 kB / 0.9051 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03684/1.377, allocations: 20.13 MB / 0.9247 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/1.377, allocations: 8.25 kB / 0.9247 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/1.379, allocations: 0.4925 MB / 0.9252 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01117/1.39, allocations: 3.843 MB / 0.929 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006022/1.391, allocations: 65.56 kB / 0.929 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/1.412, allocations: 17.8 MB / 0.9464 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.412, allocations: 11.94 kB / 0.9464 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02221/1.435, allocations: 14.87 MB / 0.9609 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002632/1.437, allocations: 1.178 MB / 0.9621 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009775/1.438, allocations: 73.33 kB / 0.9622 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/1.441, allocations: 235.6 kB / 0.9624 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/1.441, allocations: 222.2 kB / 0.9626 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/1.442, allocations: 93.14 kB / 0.9627 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004635/1.446, allocations: 3.593 MB / 0.9662 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/1.446, allocations: 0 / 0.9662 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006367/1.453, allocations: 1.793 MB / 0.9679 GB, free: 97.45 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005825/1.453, allocations: 256.5 kB / 0.9682 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.466, allocations: 9.753 MB / 0.9777 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.466, allocations: 0 / 0.9777 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004677/1.47, allocations: 3.78 MB / 0.9814 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008731/1.479, allocations: 0.7 MB / 0.9821 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.501, allocations: 19.09 MB / 1.001 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004212/1.506, allocations: 4.791 MB / 1.005 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.507, allocations: 411.4 kB / 1.006 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/1.507, allocations: 0 / 1.006 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.32/1.827, allocations: 121.9 MB / 1.125 GB, free: 109.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches