Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_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.001286/0.001286, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 202.6 kB / 16.79 MB, free: 6.84 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.77/1.77, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4975/0.4975, allocations: 43.49 MB / 313.5 MB, free: 8.254 MB / 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.001674/0.001674, allocations: 67.91 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1574, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3644/0.5219, allocations: 62.42 MB / 0.4905 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03543/0.5574, allocations: 12.95 MB / 0.5031 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02017/0.5776, allocations: 277.4 kB / 0.5034 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008592/0.5863, allocations: 3.735 MB / 0.507 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009196/0.5956, allocations: 2.055 MB / 0.509 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.5996, allocations: 1 MB / 0.51 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02066/0.6203, allocations: 8.654 MB / 0.5185 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.631, allocations: 4.447 MB / 0.5228 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005316/0.6364, allocations: 1.823 MB / 0.5246 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007588/0.644, allocations: 2.952 MB / 0.5275 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002993/0.647, allocations: 300 kB / 0.5278 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007182/0.6542, allocations: 1.392 MB / 0.5291 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00577/0.6601, allocations: 2.369 MB / 0.5314 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008378/0.6685, allocations: 2.664 MB / 0.534 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0201/0.6886, allocations: 8.473 MB / 0.5423 GB, free: 8.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.6887, allocations: 0 / 0.5423 GB, free: 8.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.6887, allocations: 0 / 0.5423 GB, free: 8.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000423/0.6892, allocations: 0 / 0.5423 GB, free: 8.25 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.03236/0.7215, allocations: 6.267 MB / 0.5484 GB, free: 1.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.972e-05/0.7217, allocations: 8.031 kB / 0.5484 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02043/0.7421, allocations: 2.527 MB / 0.5509 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.7542, allocations: 4.035 MB / 0.5548 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.7546, allocations: 291.8 kB / 0.5551 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/0.7566, allocations: 387.6 kB / 0.5555 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/0.7842, allocations: 11.99 MB / 0.5672 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/0.7846, allocations: 59.48 kB / 0.5673 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/0.7864, allocations: 183.8 kB / 0.5674 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004419/0.7909, allocations: 2.143 MB / 0.5695 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/0.8157, allocations: 10.37 MB / 0.5797 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07384/0.8896, allocations: 47.53 MB / 0.6261 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3055/1.195, allocations: 5.824 MB / 0.6318 GB, free: 141.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003987/1.199, allocations: 2.965 MB / 0.6346 GB, free: 140.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0147/1.214, allocations: 8.873 MB / 0.6433 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/1.214, allocations: 56.06 kB / 0.6434 GB, free: 136.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.781e-06/1.214, allocations: 0 / 0.6434 GB, free: 136.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1333/1.347, allocations: 34.99 MB / 0.6775 GB, free: 128 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/1.348, allocations: 208.6 kB / 0.6777 GB, free: 127.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007056/1.355, allocations: 4.8 MB / 0.6824 GB, free: 125.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007562/1.355, allocations: 72.38 kB / 0.6825 GB, free: 125.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/1.358, allocations: 3.54 MB / 0.6859 GB, free: 122.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.359, allocations: 0.9727 MB / 0.6869 GB, free: 121.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/1.361, allocations: 1.424 MB / 0.6883 GB, free: 120.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/1.361, allocations: 305.1 kB / 0.6886 GB, free: 119.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/1.365, allocations: 3.18 MB / 0.6917 GB, free: 116.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/1.371, allocations: 7.039 MB / 0.6986 GB, free: 107.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.382, allocations: 10.95 MB / 0.7093 GB, free: 94.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/1.382, allocations: 36 kB / 0.7093 GB, free: 94.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0251/1.408, allocations: 13.75 MB / 0.7227 GB, free: 81.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.408, allocations: 67.97 kB / 0.7228 GB, free: 81.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/1.408, allocations: 139.9 kB / 0.7229 GB, free: 80.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/1.419, allocations: 4.38 MB / 0.7272 GB, free: 76.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004723/1.424, allocations: 1.478 MB / 0.7286 GB, free: 75.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03216/1.456, allocations: 26.85 MB / 0.7549 GB, free: 47.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006726/1.463, allocations: 403.3 kB / 0.7552 GB, free: 47.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/1.465, allocations: 415.6 kB / 0.7556 GB, free: 47.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.005736/1.47, allocations: 2.481 MB / 0.7581 GB, free: 44.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.472, allocations: 438.3 kB / 0.7585 GB, free: 44.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.488, allocations: 8.482 MB / 0.7668 GB, free: 35.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.727e-05/1.488, allocations: 32 kB / 0.7668 GB, free: 35.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.224e-05/1.488, allocations: 15.98 kB / 0.7668 GB, free: 35.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.03e-05/1.488, allocations: 7.969 kB / 0.7668 GB, free: 35.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03339/1.521, allocations: 17.09 MB / 0.7835 GB, free: 18.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-05/1.521, allocations: 4 kB / 0.7835 GB, free: 18.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.523, allocations: 299.5 kB / 0.7838 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/1.534, allocations: 4.097 MB / 0.7878 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007384/1.534, allocations: 47.98 kB / 0.7878 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3071/1.842, allocations: 25.65 MB / 0.8129 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.842, allocations: 9.156 kB / 0.8129 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/1.862, allocations: 12.43 MB / 0.825 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/1.864, allocations: 0.9565 MB / 0.826 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008102/1.865, allocations: 55.02 kB / 0.826 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.867, allocations: 180.4 kB / 0.8262 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007502/1.868, allocations: 187.2 kB / 0.8264 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.868, allocations: 69.56 kB / 0.8264 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004071/1.872, allocations: 3.033 MB / 0.8294 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.872, allocations: 0 / 0.8294 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006942/1.879, allocations: 1.471 MB / 0.8308 GB, free: 136.6 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005842/1.88, allocations: 183.3 kB / 0.831 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.896, allocations: 8.431 MB / 0.8392 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/1.896, allocations: 1.062 kB / 0.8392 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006855/1.903, allocations: 3.559 MB / 0.8427 GB, free: 131.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/1.908, allocations: 0.5585 MB / 0.8433 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/1.936, allocations: 15.02 MB / 0.8579 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006705/1.943, allocations: 3.928 MB / 0.8618 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00609/1.949, allocations: 2.004 MB / 0.8637 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000946/1.95, allocations: 282.6 kB / 0.864 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/1.95, allocations: 0 / 0.864 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1096/2.06, allocations: 69.98 MB / 0.9323 GB, free: 64.52 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches