Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 96.81 kB / 16.99 MB, free: 5.941 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.001038/0.001038, allocations: 181.9 kB / 17.87 MB, free: 5.609 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.547/1.547, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2186/0.2186, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004181, allocations: 12.77 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3831/0.5363, allocations: 53.33 MB / 0.5125 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03008/0.5665, allocations: 12.85 MB / 0.525 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01681/0.5833, allocations: 276.1 kB / 0.5253 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.5961, allocations: 2.663 MB / 0.5279 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03275/0.6289, allocations: 7.7 MB / 0.5354 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.6337, allocations: 0.8953 MB / 0.5363 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0681/0.7018, allocations: 48.84 MB / 0.584 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009849/0.7117, allocations: 5.52 MB / 0.5894 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.7156, allocations: 1.339 MB / 0.5907 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.7199, allocations: 1.787 MB / 0.5924 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.7215, allocations: 176 kB / 0.5926 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.7249, allocations: 1.061 MB / 0.5936 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003688/0.7287, allocations: 1.995 MB / 0.5956 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002383/0.7311, allocations: 1.03 MB / 0.5966 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.7443, allocations: 6.897 MB / 0.6033 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.7444, allocations: 0 / 0.6033 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.7444, allocations: 0 / 0.6033 GB, free: 12.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004922/0.7449, allocations: 4 kB / 0.6033 GB, free: 12.63 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02477/0.7697, allocations: 5.545 MB / 0.6087 GB, free: 7.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.7697, allocations: 8.562 kB / 0.6087 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06193/0.8317, allocations: 7.947 MB / 0.6165 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.8472, allocations: 4.181 MB / 0.6206 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/0.8478, allocations: 279.3 kB / 0.6209 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002227/0.85, allocations: 387.6 kB / 0.6212 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/0.8775, allocations: 12.04 MB / 0.633 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003271/0.8779, allocations: 63.42 kB / 0.633 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/0.8795, allocations: 175.9 kB / 0.6332 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003652/0.8832, allocations: 2.143 MB / 0.6353 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.9056, allocations: 10.3 MB / 0.6454 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06919/0.9749, allocations: 47.44 MB / 0.6917 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/0.9893, allocations: 5.879 MB / 0.6974 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/1.004, allocations: 8.857 MB / 0.7061 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/1.004, allocations: 55.86 kB / 0.7061 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 5.38e-06/1.004, allocations: 0 / 0.7061 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.4175/1.422, allocations: 35.47 MB / 0.7408 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/1.422, allocations: 209.9 kB / 0.741 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008057/1.43, allocations: 5.126 MB / 0.746 GB, free: 175 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005633/1.43, allocations: 66.72 kB / 0.746 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.432, allocations: 3.596 MB / 0.7496 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009051/1.433, allocations: 0.9641 MB / 0.7505 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/1.434, allocations: 129 kB / 0.7506 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002646/1.434, allocations: 0.5871 MB / 0.7512 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/1.437, allocations: 3.004 MB / 0.7541 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/1.442, allocations: 6.783 MB / 0.7608 GB, free: 158 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/1.447, allocations: 4.422 MB / 0.7651 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.192e-05/1.447, allocations: 40 kB / 0.7651 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02278/1.47, allocations: 13.16 MB / 0.778 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/1.47, allocations: 64 kB / 0.778 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.948e-05/1.47, allocations: 132.9 kB / 0.7782 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.48, allocations: 4.248 MB / 0.7823 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/1.485, allocations: 1.404 MB / 0.7837 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03163/1.517, allocations: 27.41 MB / 0.8104 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006321/1.523, allocations: 400.5 kB / 0.8108 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008836/1.524, allocations: 396 kB / 0.8112 GB, free: 105.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (756): * Single equations (assignments): 750 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.00471/1.529, allocations: 2.466 MB / 0.8136 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009966/1.53, allocations: 446.2 kB / 0.814 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.544, allocations: 8.223 MB / 0.8221 GB, free: 94.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/1.544, allocations: 32 kB / 0.8221 GB, free: 94.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/1.544, allocations: 12 kB / 0.8221 GB, free: 94.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/1.544, allocations: 19.91 kB / 0.8221 GB, free: 94.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.573, allocations: 16.87 MB / 0.8386 GB, free: 77.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/1.573, allocations: 8 kB / 0.8386 GB, free: 77.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.574, allocations: 304.1 kB / 0.8389 GB, free: 77.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009855/1.584, allocations: 3.938 MB / 0.8427 GB, free: 73.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003759/1.584, allocations: 51.98 kB / 0.8428 GB, free: 73.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/1.614, allocations: 26.2 MB / 0.8684 GB, free: 46.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.614, allocations: 7.984 kB / 0.8684 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/1.634, allocations: 12.75 MB / 0.8808 GB, free: 33.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.637, allocations: 0.5031 MB / 0.8813 GB, free: 33.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/1.638, allocations: 48.78 kB / 0.8814 GB, free: 33.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003973/1.642, allocations: 171.7 kB / 0.8815 GB, free: 33.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/1.644, allocations: 199.4 kB / 0.8817 GB, free: 32.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004932/1.644, allocations: 64 kB / 0.8818 GB, free: 32.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007363/1.652, allocations: 3.304 MB / 0.885 GB, free: 29.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.112e-06/1.652, allocations: 0 / 0.885 GB, free: 29.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008671/1.66, allocations: 1.444 MB / 0.8864 GB, free: 28.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/1.661, allocations: 203.6 kB / 0.8866 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01421/1.676, allocations: 8.121 MB / 0.8946 GB, free: 19.69 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.676, allocations: 4 kB / 0.8946 GB, free: 19.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006177/1.682, allocations: 3.504 MB / 0.898 GB, free: 16.13 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/1.686, allocations: 0.5458 MB / 0.8985 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3249/2.011, allocations: 14.29 MB / 0.9125 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00918/2.02, allocations: 4.026 MB / 0.9164 GB, free: 171 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006716/2.027, allocations: 2.018 MB / 0.9184 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/2.028, allocations: 282.3 kB / 0.9186 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.434e-06/2.028, allocations: 1.781 kB / 0.9186 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1054/2.133, allocations: 67.44 MB / 0.9845 GB, free: 119.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches