Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001225/0.001225, allocations: 180.6 kB / 17.41 MB, free: 4.289 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.36/1.36, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.000752/0.0007521, allocations: 86.36 kB / 271.9 MB, free: 8.242 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.3452/0.3452, allocations: 43.56 MB / 363.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003877, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4754, allocations: 107.5 MB / 0.5849 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4758, allocations: 80.83 kB / 0.5849 GB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5097/0.9855, allocations: 101.9 MB / 0.6844 GB, free: 85.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.9856, allocations: 0 / 0.6844 GB, free: 85.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003075/0.9859, allocations: 99.19 kB / 0.6845 GB, free: 85.84 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.01866/1.005, allocations: 5.48 MB / 0.6899 GB, free: 83.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.005, allocations: 7.5 kB / 0.6899 GB, free: 83.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02148/1.026, allocations: 5.219 MB / 0.695 GB, free: 83.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/1.04, allocations: 6.26 MB / 0.7011 GB, free: 82.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/1.041, allocations: 377.4 kB / 0.7015 GB, free: 82.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002654/1.044, allocations: 0.4973 MB / 0.702 GB, free: 82.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03181/1.075, allocations: 12.23 MB / 0.7139 GB, free: 79.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005534/1.076, allocations: 75.03 kB / 0.714 GB, free: 79.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002414/1.078, allocations: 244.5 kB / 0.7142 GB, free: 79.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/1.08, allocations: 1.142 MB / 0.7153 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/1.103, allocations: 10.13 MB / 0.7252 GB, free: 78.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05687/1.16, allocations: 55.64 MB / 0.7795 GB, free: 37.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/1.173, allocations: 5.629 MB / 0.785 GB, free: 35.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003208/1.177, allocations: 2.845 MB / 0.7878 GB, free: 34.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/1.189, allocations: 8.739 MB / 0.7964 GB, free: 29.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.189, allocations: 55.44 kB / 0.7964 GB, free: 29.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 6.161e-06/1.189, allocations: 3.781 kB / 0.7964 GB, free: 29.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1124/1.302, allocations: 35.31 MB / 0.8309 GB, free: 10.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.302, allocations: 213.9 kB / 0.8311 GB, free: 10.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006528/1.308, allocations: 4.763 MB / 0.8358 GB, free: 5.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006899/1.309, allocations: 65.7 kB / 0.8358 GB, free: 5.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.311, allocations: 3.595 MB / 0.8393 GB, free: 1.836 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.312, allocations: 0.9773 MB / 0.8403 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/1.312, allocations: 132 kB / 0.8404 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/1.313, allocations: 0.5872 MB / 0.841 GB, free: 148 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00469/1.317, allocations: 3.005 MB / 0.8439 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008191/1.326, allocations: 6.836 MB / 0.8506 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/1.34, allocations: 10.68 MB / 0.861 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.34, allocations: 40 kB / 0.8611 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.2895/1.629, allocations: 13.07 MB / 0.8738 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.63, allocations: 64.84 kB / 0.8739 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/1.63, allocations: 133.4 kB / 0.874 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/1.642, allocations: 4.068 MB / 0.878 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005011/1.647, allocations: 1.419 MB / 0.8794 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03359/1.68, allocations: 25.88 MB / 0.9046 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006907/1.687, allocations: 398.8 kB / 0.905 GB, free: 98.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/1.689, allocations: 401.6 kB / 0.9054 GB, free: 98.07 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.00701/1.696, allocations: 2.479 MB / 0.9078 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/1.698, allocations: 453.6 kB / 0.9083 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.716, allocations: 8.118 MB / 0.9162 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.573e-05/1.716, allocations: 31.62 kB / 0.9162 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.325e-05/1.716, allocations: 13.84 kB / 0.9162 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/1.716, allocations: 12.25 kB / 0.9162 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/1.747, allocations: 16.72 MB / 0.9326 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/1.747, allocations: 3.562 kB / 0.9326 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.748, allocations: 304.3 kB / 0.9329 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009532/1.758, allocations: 3.775 MB / 0.9365 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005646/1.758, allocations: 47.56 kB / 0.9366 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02884/1.787, allocations: 24.62 MB / 0.9606 GB, free: 75.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.787, allocations: 7.438 kB / 0.9606 GB, free: 75.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.807, allocations: 11.98 MB / 0.9723 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003657/1.811, allocations: 0.9472 MB / 0.9733 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/1.813, allocations: 49.44 kB / 0.9733 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003555/1.816, allocations: 163.4 kB / 0.9735 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/1.818, allocations: 191.6 kB / 0.9737 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004456/1.818, allocations: 79.19 kB / 0.9737 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007029/1.825, allocations: 3.002 MB / 0.9767 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.12e-07/1.825, allocations: 0 / 0.9767 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009346/1.835, allocations: 1.424 MB / 0.9781 GB, free: 68.81 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.001018/1.836, allocations: 207.1 kB / 0.9782 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.85, allocations: 8.131 MB / 0.9862 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.85, allocations: 7.406 kB / 0.9862 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006014/1.856, allocations: 3.472 MB / 0.9896 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009025/1.865, allocations: 0.5865 MB / 0.9902 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.888, allocations: 15.01 MB / 1.005 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006529/1.895, allocations: 3.937 MB / 1.009 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.897, allocations: 329.4 kB / 1.009 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.372e-06/1.897, allocations: 0 / 1.009 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.4291/2.326, allocations: 141.9 MB / 1.148 GB, free: 91.08 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches