Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.00167, allocations: 179.6 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008785/0.0008785, allocations: 96.81 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3304/0.3304, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003323, allocations: 11.98 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3498, allocations: 61.9 MB / 0.5096 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4921, allocations: 109.2 MB / 0.6162 GB, free: 1.934 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4924, allocations: 83.95 kB / 0.6162 GB, free: 1.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5477/1.04, allocations: 105 MB / 0.7188 GB, free: 96.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.04, allocations: 0 / 0.7188 GB, free: 96.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005512/1.041, allocations: 102.4 kB / 0.7189 GB, free: 96.67 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.0229/1.064, allocations: 5.661 MB / 0.7244 GB, free: 94.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.064, allocations: 13.72 kB / 0.7244 GB, free: 94.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0264/1.09, allocations: 6.882 MB / 0.7312 GB, free: 93.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/1.109, allocations: 7.227 MB / 0.7382 GB, free: 90.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/1.11, allocations: 368 kB / 0.7386 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/1.112, allocations: 0.4928 MB / 0.739 GB, free: 90.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/1.136, allocations: 12.34 MB / 0.7511 GB, free: 83.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/1.136, allocations: 75.91 kB / 0.7512 GB, free: 83.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/1.138, allocations: 235.5 kB / 0.7514 GB, free: 83.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/1.139, allocations: 1.142 MB / 0.7525 GB, free: 83.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/1.158, allocations: 10.28 MB / 0.7626 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0563/1.214, allocations: 55.66 MB / 0.8169 GB, free: 24.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/1.227, allocations: 5.71 MB / 0.8225 GB, free: 18.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/1.24, allocations: 8.766 MB / 0.831 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/1.24, allocations: 63.8 kB / 0.8311 GB, free: 9.848 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 4.598e-06/1.24, allocations: 0 / 0.8311 GB, free: 9.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1136/1.354, allocations: 35.88 MB / 0.8661 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.354, allocations: 209.9 kB / 0.8663 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008004/1.362, allocations: 4.196 MB / 0.8704 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007306/1.363, allocations: 65.7 kB / 0.8705 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.282/1.645, allocations: 3.583 MB / 0.874 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.646, allocations: 0.9755 MB / 0.875 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/1.647, allocations: 134.5 kB / 0.8751 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003514/1.647, allocations: 0.5903 MB / 0.8757 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004017/1.651, allocations: 3.006 MB / 0.8786 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00542/1.657, allocations: 6.811 MB / 0.8852 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/1.662, allocations: 4.431 MB / 0.8896 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/1.662, allocations: 36.88 kB / 0.8896 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02394/1.686, allocations: 13.08 MB / 0.9024 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000141/1.687, allocations: 66.2 kB / 0.9024 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002254/1.687, allocations: 133.9 kB / 0.9026 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/1.699, allocations: 4.091 MB / 0.9066 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/1.704, allocations: 1.424 MB / 0.908 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03238/1.736, allocations: 26.88 MB / 0.9342 GB, free: 94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/1.742, allocations: 392.8 kB / 0.9346 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.743, allocations: 408.1 kB / 0.935 GB, free: 93.82 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.004599/1.748, allocations: 2.47 MB / 0.9374 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008848/1.749, allocations: 447.5 kB / 0.9378 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.763, allocations: 8.117 MB / 0.9457 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/1.763, allocations: 30.92 kB / 0.9458 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.763, allocations: 9.812 kB / 0.9458 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-05/1.763, allocations: 15.08 kB / 0.9458 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.793, allocations: 16.69 MB / 0.9621 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/1.793, allocations: 3.938 kB / 0.9621 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.795, allocations: 305.6 kB / 0.9624 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009486/1.804, allocations: 3.778 MB / 0.9661 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005063/1.805, allocations: 48.2 kB / 0.9661 GB, free: 82.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02722/1.832, allocations: 25.65 MB / 0.9912 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.832, allocations: 7.953 kB / 0.9912 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/1.85, allocations: 12.64 MB / 1.004 GB, free: 49.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.851, allocations: 489.9 kB / 1.004 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008658/1.852, allocations: 51.84 kB / 1.004 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.854, allocations: 169.5 kB / 1.004 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006095/1.855, allocations: 193.5 kB / 1.004 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.855, allocations: 68 kB / 1.004 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004627/1.86, allocations: 2.973 MB / 1.007 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/1.86, allocations: 0 / 1.007 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008097/1.868, allocations: 1.433 MB / 1.009 GB, free: 44.13 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.0007003/1.869, allocations: 192.5 kB / 1.009 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.88, allocations: 8.148 MB / 1.017 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.88, allocations: 4 kB / 1.017 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004546/1.885, allocations: 3.47 MB / 1.02 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/1.888, allocations: 0.5481 MB / 1.021 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.909, allocations: 14.34 MB / 1.035 GB, free: 17.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003884/1.913, allocations: 4.035 MB / 1.039 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004844/1.918, allocations: 2.028 MB / 1.041 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008102/1.919, allocations: 279.4 kB / 1.041 GB, free: 11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/1.919, allocations: 0 / 1.041 GB, free: 11 MB / 0.5105 GB Notification: Performance of Templates: time 0.376/2.295, allocations: 66.07 MB / 1.106 GB, free: 112.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches