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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 174.2 kB / 16.76 MB, free: 4.805 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007325/0.0007326, allocations: 98.34 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.333/0.333, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.0005479, allocations: 8 kB / 432.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 58.85 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.5042, allocations: 107.5 MB / 0.5849 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5045, allocations: 79.95 kB / 0.585 GB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.461/0.9655, allocations: 101.9 MB / 0.6845 GB, free: 86.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.9655, allocations: 0 / 0.6845 GB, free: 86.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002595/0.9658, allocations: 103.2 kB / 0.6846 GB, free: 86.26 MB / 490.7 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.01599/0.9818, allocations: 5.471 MB / 0.6899 GB, free: 83.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.9819, allocations: 11.69 kB / 0.6899 GB, free: 83.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02068/1.003, allocations: 5.212 MB / 0.695 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/1.016, allocations: 6.273 MB / 0.7011 GB, free: 82.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/1.017, allocations: 374.2 kB / 0.7015 GB, free: 82.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/1.018, allocations: 0.4894 MB / 0.702 GB, free: 82.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/1.043, allocations: 12.23 MB / 0.7139 GB, free: 79.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/1.043, allocations: 75.3 kB / 0.714 GB, free: 79.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007617/1.044, allocations: 241.9 kB / 0.7142 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001571/1.045, allocations: 1.141 MB / 0.7153 GB, free: 79.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/1.066, allocations: 10.13 MB / 0.7252 GB, free: 79.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05443/1.121, allocations: 55.64 MB / 0.7796 GB, free: 37.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/1.133, allocations: 5.634 MB / 0.7851 GB, free: 35.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/1.137, allocations: 2.842 MB / 0.7878 GB, free: 34.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/1.148, allocations: 8.748 MB / 0.7964 GB, free: 30.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.148, allocations: 50.62 kB / 0.7964 GB, free: 29.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 6.062e-06/1.148, allocations: 0 / 0.7964 GB, free: 29.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1049/1.253, allocations: 35.32 MB / 0.8309 GB, free: 10.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/1.253, allocations: 213.9 kB / 0.8311 GB, free: 9.848 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/1.259, allocations: 4.755 MB / 0.8358 GB, free: 5.094 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/1.26, allocations: 65.7 kB / 0.8358 GB, free: 5.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/1.261, allocations: 3.598 MB / 0.8393 GB, free: 1.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007891/1.262, allocations: 0.9811 MB / 0.8403 GB, free: 464 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/1.262, allocations: 132 kB / 0.8404 GB, free: 332 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003272/1.263, allocations: 0.5911 MB / 0.841 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004448/1.267, allocations: 3.004 MB / 0.8439 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006982/1.274, allocations: 6.836 MB / 0.8506 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.287, allocations: 10.68 MB / 0.861 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.621e-05/1.288, allocations: 40 kB / 0.8611 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.2872/1.575, allocations: 13.07 MB / 0.8738 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.575, allocations: 63.06 kB / 0.8739 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/1.575, allocations: 133.5 kB / 0.874 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/1.587, allocations: 4.07 MB / 0.878 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/1.592, allocations: 1.423 MB / 0.8794 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03239/1.624, allocations: 25.88 MB / 0.9047 GB, free: 98.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/1.631, allocations: 397 kB / 0.905 GB, free: 98.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.632, allocations: 402.2 kB / 0.9054 GB, free: 98.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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 (763): * Single equations (assignments): 757 * 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.005481/1.638, allocations: 2.481 MB / 0.9079 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.639, allocations: 445.6 kB / 0.9083 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/1.656, allocations: 8.12 MB / 0.9162 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-05/1.656, allocations: 28.31 kB / 0.9162 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.759e-05/1.656, allocations: 17.97 kB / 0.9163 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.455e-05/1.656, allocations: 14.34 kB / 0.9163 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02874/1.685, allocations: 16.71 MB / 0.9326 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/1.685, allocations: 7.25 kB / 0.9326 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.686, allocations: 298.9 kB / 0.9329 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009081/1.695, allocations: 3.775 MB / 0.9366 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/1.696, allocations: 47.12 kB / 0.9366 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02813/1.724, allocations: 24.62 MB / 0.9607 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.724, allocations: 10.53 kB / 0.9607 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/1.743, allocations: 11.97 MB / 0.9724 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/1.746, allocations: 0.949 MB / 0.9733 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006891/1.746, allocations: 50.27 kB / 0.9733 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/1.748, allocations: 163.8 kB / 0.9735 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000712/1.749, allocations: 202.6 kB / 0.9737 GB, free: 70.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/1.749, allocations: 69.56 kB / 0.9737 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004742/1.754, allocations: 2.998 MB / 0.9767 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/1.754, allocations: 0 / 0.9767 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007981/1.762, allocations: 1.429 MB / 0.9781 GB, free: 69.17 MB / 0.5105 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 (161): * Single equations (assignments): 155 * 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.000544/1.763, allocations: 204.8 kB / 0.9783 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.774, allocations: 8.136 MB / 0.9862 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.774, allocations: 4 kB / 0.9862 GB, free: 65.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00493/1.779, allocations: 3.474 MB / 0.9896 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00675/1.786, allocations: 0.5836 MB / 0.9902 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/1.809, allocations: 14.42 MB / 1.004 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/1.813, allocations: 3.936 MB / 1.008 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005349/1.818, allocations: 2.026 MB / 1.01 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.82, allocations: 288.7 kB / 1.01 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/1.82, allocations: 0 / 1.01 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.3306/2.15, allocations: 66.33 MB / 1.075 GB, free: 106.9 MB / 0.5261 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/jenkins1/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