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.001193/0.001193, allocations: 108.2 kB / 17.03 MB, free: 5.707 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.001319/0.001319, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.427/1.427, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2116/0.2116, allocations: 43.53 MB / 314.7 MB, free: 476 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.001524/0.001524, allocations: 77.52 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1062, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01339/0.1196, allocations: 13.48 MB / 455.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009307/0.1289, allocations: 4.805 MB / 460.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.131, allocations: 95.69 kB / 460.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006267/0.1373, allocations: 3.738 MB / 464.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.1422, allocations: 2.198 MB / 466.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.1445, allocations: 1.08 MB / 467.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007454/0.1519, allocations: 6.198 MB / 473.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005084/0.157, allocations: 4.533 MB / 478.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.1599, allocations: 2.044 MB / 480.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.1637, allocations: 2.757 MB / 482.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.1648, allocations: 428 kB / 483.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.1674, allocations: 1.443 MB / 484.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.1699, allocations: 2.466 MB / 487.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003541/0.1735, allocations: 2.793 MB / 490 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.1837, allocations: 8.815 MB / 498.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1837, allocations: 0 / 498.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1838, allocations: 0 / 498.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002337/0.184, allocations: 0 / 498.8 MB, free: 13.02 MB / 382.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.01219/0.1962, allocations: 6.261 MB / 0.4932 GB, free: 6.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1962, allocations: 11.89 kB / 0.4932 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/0.2062, allocations: 2.525 MB / 0.4957 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009223/0.2155, allocations: 4.125 MB / 0.4997 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.2157, allocations: 283.7 kB / 0.5 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.2168, allocations: 387.6 kB / 0.5004 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.2368, allocations: 12 MB / 0.5121 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.237, allocations: 63.42 kB / 0.5122 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004631/0.2374, allocations: 183.8 kB / 0.5123 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002979/0.2404, allocations: 2.14 MB / 0.5144 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.26, allocations: 10.38 MB / 0.5246 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2563/0.5164, allocations: 47.28 MB / 0.5707 GB, free: 51.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.5288, allocations: 5.832 MB / 0.5764 GB, free: 47.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/0.5315, allocations: 2.962 MB / 0.5793 GB, free: 46.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.5432, allocations: 8.874 MB / 0.588 GB, free: 39.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.5433, allocations: 59.81 kB / 0.588 GB, free: 39.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=206): time 5.901e-06/0.5433, allocations: 0.8438 kB / 0.588 GB, free: 39.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=262): time 0.1104/0.6537, allocations: 34.98 MB / 0.6222 GB, free: 4.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.6538, allocations: 205.9 kB / 0.6224 GB, free: 4.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006052/0.6599, allocations: 4.797 MB / 0.6271 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007309/0.6607, allocations: 65.7 kB / 0.6271 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002676/0.6633, allocations: 3.548 MB / 0.6306 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.6647, allocations: 0.9722 MB / 0.6316 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/0.6668, allocations: 1.428 MB / 0.633 GB, free: 9.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.6669, allocations: 301.1 kB / 0.6332 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/0.6713, allocations: 3.176 MB / 0.6363 GB, free: 5.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007308/0.6787, allocations: 7.04 MB / 0.6432 GB, free: 12.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/0.6919, allocations: 10.95 MB / 0.6539 GB, free: 152 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.6921, allocations: 36 kB / 0.654 GB, free: 116 kB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02811/0.7202, allocations: 13.75 MB / 0.6674 GB, free: 2.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-05/0.7203, allocations: 64 kB / 0.6674 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/0.7205, allocations: 136 kB / 0.6676 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/0.7333, allocations: 4.388 MB / 0.6719 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005447/0.7388, allocations: 1.474 MB / 0.6733 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04299/0.7818, allocations: 29.04 MB / 0.7017 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006444/0.7883, allocations: 411.3 kB / 0.7021 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/0.7897, allocations: 415.5 kB / 0.7024 GB, free: 14.04 MB / 0.4981 GB 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.004791/0.7945, allocations: 2.479 MB / 0.7049 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/0.7958, allocations: 434.4 kB / 0.7053 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/0.813, allocations: 8.479 MB / 0.7136 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.8131, allocations: 31.19 kB / 0.7136 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/0.8131, allocations: 12 kB / 0.7136 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.335e-05/0.8132, allocations: 11.95 kB / 0.7136 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2626/1.076, allocations: 17 MB / 0.7302 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/1.076, allocations: 5.5 kB / 0.7302 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.077, allocations: 300.6 kB / 0.7305 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009992/1.087, allocations: 3.968 MB / 0.7344 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.088, allocations: 48.27 kB / 0.7344 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02883/1.117, allocations: 27.73 MB / 0.7615 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.117, allocations: 15.61 kB / 0.7615 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.134, allocations: 12.42 MB / 0.7737 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/1.136, allocations: 0.9694 MB / 0.7746 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006545/1.137, allocations: 49.7 kB / 0.7747 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/1.139, allocations: 171.8 kB / 0.7748 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006897/1.14, allocations: 200.9 kB / 0.775 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.14, allocations: 69.41 kB / 0.7751 GB, free: 129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003526/1.143, allocations: 3.03 MB / 0.778 GB, free: 126 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.143, allocations: 0 / 0.778 GB, free: 126 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006414/1.15, allocations: 1.467 MB / 0.7795 GB, free: 124.5 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.0005482/1.15, allocations: 194 kB / 0.7797 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.161, allocations: 8.462 MB / 0.7879 GB, free: 116 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.161, allocations: 384 / 0.7879 GB, free: 116 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004369/1.165, allocations: 3.527 MB / 0.7914 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.168, allocations: 0.5822 MB / 0.7919 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.184, allocations: 12.47 MB / 0.8041 GB, free: 99.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/1.187, allocations: 3.929 MB / 0.808 GB, free: 95.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003752/1.191, allocations: 2.009 MB / 0.8099 GB, free: 93.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/1.192, allocations: 279.4 kB / 0.8102 GB, free: 93.2 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/1.192, allocations: 0 / 0.8102 GB, free: 93.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.08441/1.276, allocations: 66.9 MB / 0.8755 GB, free: 26.5 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches