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.000901/0.000901, allocations: 97.06 kB / 15.69 MB, free: 480 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.0009371/0.0009368, allocations: 175.4 kB / 16.57 MB, free: 6.391 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.543/1.543, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3481/0.3481, allocations: 43.54 MB / 314.5 MB, free: 8.773 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.0005156/0.0005156, allocations: 15.98 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 58.85 MB / 442.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2834/0.419, allocations: 53.4 MB / 496.1 MB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03244/0.4515, allocations: 12.86 MB / 0.4971 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01606/0.4676, allocations: 276.4 kB / 0.4973 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.4784, allocations: 2.669 MB / 0.4999 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02994/0.5084, allocations: 7.693 MB / 0.5075 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.5133, allocations: 0.8977 MB / 0.5083 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04347/0.5568, allocations: 27.82 MB / 0.5355 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008417/0.5653, allocations: 5.537 MB / 0.5409 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.5681, allocations: 1.355 MB / 0.5422 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/0.5705, allocations: 1.795 MB / 0.544 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005664/0.5711, allocations: 172 kB / 0.5441 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.5733, allocations: 1.049 MB / 0.5452 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.5751, allocations: 2.011 MB / 0.5471 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.5761, allocations: 1.037 MB / 0.5481 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007116/0.5833, allocations: 6.921 MB / 0.5549 GB, free: 13.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5833, allocations: 0 / 0.5549 GB, free: 13.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5833, allocations: 0 / 0.5549 GB, free: 13.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003039/0.5836, allocations: 0 / 0.5549 GB, free: 13.08 MB / 430.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.01388/0.5975, allocations: 5.566 MB / 0.5603 GB, free: 7.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5976, allocations: 8.562 kB / 0.5603 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03977/0.6373, allocations: 7.95 MB / 0.5681 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.6484, allocations: 4.507 MB / 0.5725 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.6487, allocations: 283.3 kB / 0.5728 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.6501, allocations: 391.6 kB / 0.5732 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.6714, allocations: 12.04 MB / 0.5849 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.6716, allocations: 63.42 kB / 0.585 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004748/0.6721, allocations: 179.8 kB / 0.5851 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003012/0.6751, allocations: 2.143 MB / 0.5872 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02083/0.6959, allocations: 10.31 MB / 0.5973 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3065/1.003, allocations: 47.47 MB / 0.6437 GB, free: 111.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/1.016, allocations: 5.883 MB / 0.6494 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/1.03, allocations: 8.867 MB / 0.6581 GB, free: 108.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/1.03, allocations: 60.48 kB / 0.6581 GB, free: 108.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 6.132e-06/1.031, allocations: 3.969 kB / 0.6581 GB, free: 108.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1223/1.153, allocations: 35.61 MB / 0.6929 GB, free: 98.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.153, allocations: 210.6 kB / 0.6931 GB, free: 98.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007363/1.16, allocations: 5.163 MB / 0.6982 GB, free: 95.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007283/1.161, allocations: 61.08 kB / 0.6982 GB, free: 95.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00196/1.163, allocations: 3.596 MB / 0.7017 GB, free: 92.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.164, allocations: 0.9595 MB / 0.7027 GB, free: 91.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.164, allocations: 132.9 kB / 0.7028 GB, free: 91.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002637/1.165, allocations: 0.5906 MB / 0.7034 GB, free: 90.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/1.168, allocations: 3.009 MB / 0.7063 GB, free: 88.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/1.173, allocations: 6.786 MB / 0.7129 GB, free: 80.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/1.177, allocations: 4.429 MB / 0.7173 GB, free: 75.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-05/1.177, allocations: 36 kB / 0.7173 GB, free: 75.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02031/1.197, allocations: 13.15 MB / 0.7301 GB, free: 62.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/1.198, allocations: 72.2 kB / 0.7302 GB, free: 62.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.473e-05/1.198, allocations: 132 kB / 0.7303 GB, free: 62.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/1.208, allocations: 4.248 MB / 0.7345 GB, free: 58.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/1.212, allocations: 1.411 MB / 0.7359 GB, free: 56.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/1.241, allocations: 27.4 MB / 0.7626 GB, free: 28.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005774/1.247, allocations: 399.4 kB / 0.763 GB, free: 28.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009977/1.248, allocations: 404.4 kB / 0.7634 GB, free: 28.15 MB / 494.1 MB 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.003985/1.252, allocations: 2.475 MB / 0.7658 GB, free: 25.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.253, allocations: 446.3 kB / 0.7662 GB, free: 25.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.268, allocations: 8.218 MB / 0.7742 GB, free: 16.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/1.268, allocations: 28 kB / 0.7743 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.863e-05/1.268, allocations: 15.94 kB / 0.7743 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/1.268, allocations: 11.95 kB / 0.7743 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03004/1.298, allocations: 16.9 MB / 0.7908 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/1.298, allocations: 8.094 kB / 0.7908 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.3, allocations: 303.5 kB / 0.7911 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/1.31, allocations: 3.936 MB / 0.7949 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004888/1.311, allocations: 55.88 kB / 0.795 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03621/1.347, allocations: 26.2 MB / 0.8206 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.347, allocations: 11.89 kB / 0.8206 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2822/1.629, allocations: 12.74 MB / 0.833 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.632, allocations: 0.9779 MB / 0.834 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006924/1.633, allocations: 48.39 kB / 0.834 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.635, allocations: 166.7 kB / 0.8342 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006038/1.636, allocations: 194.2 kB / 0.8344 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.636, allocations: 69.5 kB / 0.8344 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004383/1.64, allocations: 3.325 MB / 0.8377 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.6e-07/1.64, allocations: 4.5 kB / 0.8377 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007087/1.647, allocations: 1.445 MB / 0.8391 GB, free: 154.2 MB / 0.5137 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.0006799/1.648, allocations: 202.1 kB / 0.8393 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01453/1.663, allocations: 8.12 MB / 0.8472 GB, free: 151 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.663, allocations: 0 / 0.8472 GB, free: 151 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005965/1.669, allocations: 3.506 MB / 0.8507 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/1.672, allocations: 0.5618 MB / 0.8512 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/1.699, allocations: 14.32 MB / 0.8652 GB, free: 142 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006715/1.706, allocations: 4.042 MB / 0.8691 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006038/1.712, allocations: 2.02 MB / 0.8711 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009688/1.713, allocations: 289.8 kB / 0.8714 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.363e-06/1.713, allocations: 0 / 0.8714 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.1025/1.816, allocations: 67.58 MB / 0.9374 GB, free: 85.47 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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