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.001505/0.001505, allocations: 102.5 kB / 16.27 MB, free: 6.41 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.001696/0.001696, allocations: 188.6 kB / 17.19 MB, free: 5.949 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.648/1.648, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.227/0.227, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001473/0.001473, allocations: 69.41 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1366, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0129/0.1496, allocations: 13.48 MB / 454 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1609, allocations: 4.805 MB / 458.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.164, allocations: 99.69 kB / 458.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007236/0.1713, allocations: 3.742 MB / 462.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009125/0.1805, allocations: 2.19 MB / 464.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.1837, allocations: 1.08 MB / 465.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009773/0.1935, allocations: 6.198 MB / 472.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005705/0.1993, allocations: 4.537 MB / 476.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.2033, allocations: 2.037 MB / 478.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004242/0.2076, allocations: 2.753 MB / 481.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.2087, allocations: 428 kB / 481.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.2115, allocations: 1.443 MB / 483.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.2138, allocations: 2.474 MB / 485.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.2169, allocations: 2.785 MB / 488.6 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009014/0.2259, allocations: 8.587 MB / 497.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.226, allocations: 0 / 497.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.226, allocations: 0 / 497.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002381/0.2262, allocations: 0 / 497.1 MB, free: 14.03 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.01636/0.2426, allocations: 6.25 MB / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.2426, allocations: 15.89 kB / 0.4916 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.2555, allocations: 2.532 MB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009735/0.2653, allocations: 4.028 MB / 0.498 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.2656, allocations: 283.7 kB / 0.4983 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.2672, allocations: 387.6 kB / 0.4987 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.2897, allocations: 12.01 MB / 0.5104 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.2899, allocations: 59.42 kB / 0.5104 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004731/0.2903, allocations: 183.8 kB / 0.5106 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003282/0.2936, allocations: 2.14 MB / 0.5127 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.3163, allocations: 10.38 MB / 0.5228 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2994/0.6157, allocations: 47.5 MB / 0.5692 GB, free: 51.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.6293, allocations: 5.829 MB / 0.5749 GB, free: 48.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/0.6325, allocations: 2.965 MB / 0.5778 GB, free: 46.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.6439, allocations: 8.877 MB / 0.5865 GB, free: 40.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.6439, allocations: 51.88 kB / 0.5865 GB, free: 40.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=206): time 5.24e-06/0.644, allocations: 0 / 0.5865 GB, free: 40.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=262): time 0.1209/0.7649, allocations: 35 MB / 0.6207 GB, free: 5.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.765, allocations: 205.9 kB / 0.6209 GB, free: 4.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/0.7703, allocations: 4.801 MB / 0.6256 GB, free: 192 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005125/0.7708, allocations: 61.7 kB / 0.6256 GB, free: 124 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.7734, allocations: 3.546 MB / 0.6291 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001595/0.775, allocations: 0.9723 MB / 0.6301 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002108/0.7772, allocations: 1.416 MB / 0.6314 GB, free: 10.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.7773, allocations: 305.1 kB / 0.6317 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004514/0.7818, allocations: 3.176 MB / 0.6348 GB, free: 6.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007347/0.7891, allocations: 7.043 MB / 0.6417 GB, free: 13.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/0.8027, allocations: 10.95 MB / 0.6524 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.8029, allocations: 43.94 kB / 0.6525 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02963/0.8325, allocations: 13.75 MB / 0.6659 GB, free: 3.129 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/0.8326, allocations: 60 kB / 0.6659 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/0.8328, allocations: 140.8 kB / 0.6661 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/0.8503, allocations: 4.392 MB / 0.6704 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00765/0.858, allocations: 1.485 MB / 0.6718 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0549/0.913, allocations: 29.04 MB / 0.7002 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009447/0.9225, allocations: 407.4 kB / 0.7006 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/0.9242, allocations: 411.9 kB / 0.701 GB, free: 14.8 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.005689/0.9299, allocations: 2.488 MB / 0.7034 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/0.9313, allocations: 438.3 kB / 0.7038 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/0.9489, allocations: 8.481 MB / 0.7121 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-05/0.949, allocations: 37.95 kB / 0.7121 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.022e-05/0.949, allocations: 12 kB / 0.7121 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.281e-05/0.9491, allocations: 11.91 kB / 0.7121 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3095/1.259, allocations: 17.07 MB / 0.7288 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-05/1.259, allocations: 5.25 kB / 0.7288 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.26, allocations: 301.1 kB / 0.7291 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/1.271, allocations: 3.974 MB / 0.733 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005278/1.272, allocations: 43.78 kB / 0.733 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04707/1.319, allocations: 27.75 MB / 0.7601 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.319, allocations: 11.81 kB / 0.7601 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02891/1.348, allocations: 12.43 MB / 0.7723 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00422/1.352, allocations: 0.9646 MB / 0.7732 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001717/1.354, allocations: 53.75 kB / 0.7733 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/1.357, allocations: 171.7 kB / 0.7734 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008084/1.358, allocations: 205.9 kB / 0.7736 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.358, allocations: 68 kB / 0.7737 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00438/1.362, allocations: 3.036 MB / 0.7767 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.362, allocations: 0 / 0.7767 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006925/1.369, allocations: 1.461 MB / 0.7781 GB, free: 125.2 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.0005331/1.37, allocations: 187.6 kB / 0.7783 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01446/1.384, allocations: 10.01 MB / 0.788 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.384, allocations: 3.562 kB / 0.788 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004942/1.389, allocations: 3.523 MB / 0.7915 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/1.394, allocations: 0.5776 MB / 0.792 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.413, allocations: 12.62 MB / 0.8044 GB, free: 98.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/1.417, allocations: 3.93 MB / 0.8082 GB, free: 94.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0046/1.422, allocations: 2.002 MB / 0.8102 GB, free: 92.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008119/1.423, allocations: 283.4 kB / 0.8104 GB, free: 92.19 MB / 0.4981 GB Notification: Performance of SimCode: time 1.282e-06/1.423, allocations: 0 / 0.8104 GB, free: 92.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.1093/1.532, allocations: 72.68 MB / 0.8814 GB, free: 19.61 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","/var/lib/jenkins/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