Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.0008281, allocations: 78.64 kB / 261.7 MB, free: 1.688 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.2371/0.2371, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.003e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.5583, allocations: 105.9 MB / 0.5694 GB, free: 5.836 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5586, allocations: 76.44 kB / 0.5694 GB, free: 5.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2341/0.7927, allocations: 93.43 MB / 0.6607 GB, free: 368 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7928, allocations: 0 / 0.6607 GB, free: 368 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002796/0.7931, allocations: 91.98 kB / 0.6608 GB, free: 276 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01639/0.8095, allocations: 4.609 MB / 0.6653 GB, free: 11.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.8095, allocations: 12.03 kB / 0.6653 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02797/0.8375, allocations: 6.729 MB / 0.6718 GB, free: 4.832 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/0.856, allocations: 6.319 MB / 0.678 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.8563, allocations: 140 kB / 0.6781 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0023/0.8587, allocations: 255.8 kB / 0.6784 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01434/0.873, allocations: 6.596 MB / 0.6848 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03135/0.9044, allocations: 9.578 MB / 0.6942 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004869/0.9049, allocations: 67.38 kB / 0.6942 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002582/0.9076, allocations: 28 kB / 0.6943 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002019/0.9096, allocations: 1.026 MB / 0.6953 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.43/1.34, allocations: 46.01 MB / 0.7402 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/1.345, allocations: 3.067 MB / 0.7432 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/1.348, allocations: 1.729 MB / 0.7449 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/1.349, allocations: 1.932 MB / 0.7468 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/1.35, allocations: 54.19 kB / 0.7468 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=186): time 5.671e-06/1.35, allocations: 3.703 kB / 0.7468 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.06194/1.411, allocations: 26.26 MB / 0.7725 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.412, allocations: 209.9 kB / 0.7727 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005569/1.417, allocations: 3.287 MB / 0.7759 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006685/1.418, allocations: 25.7 kB / 0.7759 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.42, allocations: 3.294 MB / 0.7791 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.421, allocations: 0.8712 MB / 0.78 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/1.421, allocations: 0 / 0.78 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003347/1.422, allocations: 0.579 MB / 0.7806 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/1.425, allocations: 3.311 MB / 0.7838 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005354/1.431, allocations: 7.06 MB / 0.7907 GB, free: 75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/1.436, allocations: 4.703 MB / 0.7953 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.276e-05/1.437, allocations: 48.23 kB / 0.7953 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03414/1.471, allocations: 14.69 MB / 0.8097 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.471, allocations: 66.44 kB / 0.8097 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/1.471, allocations: 131.8 kB / 0.8099 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02183/1.493, allocations: 5.922 MB / 0.8156 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005442/1.498, allocations: 1.493 MB / 0.8171 GB, free: 67.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02583/1.524, allocations: 22.89 MB / 0.8394 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00704/1.531, allocations: 272.7 kB / 0.8397 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/1.533, allocations: 397.6 kB / 0.8401 GB, free: 47.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 773 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001655/1.535, allocations: 446.5 kB / 0.8405 GB, free: 46.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.536, allocations: 375.2 kB / 0.8409 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02521/1.562, allocations: 10.57 MB / 0.8512 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.497e-05/1.562, allocations: 32.81 kB / 0.8512 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.562, allocations: 8 kB / 0.8512 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/1.562, allocations: 19.34 kB / 0.8512 GB, free: 37.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03833/1.6, allocations: 19.45 MB / 0.8702 GB, free: 17.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/1.6, allocations: 7.953 kB / 0.8702 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.602, allocations: 396 kB / 0.8706 GB, free: 17.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01788/1.62, allocations: 4.973 MB / 0.8755 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005735/1.621, allocations: 8 kB / 0.8755 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/1.644, allocations: 18.44 MB / 0.8935 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/1.644, allocations: 8 kB / 0.8935 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3686/2.012, allocations: 14.35 MB / 0.9075 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/2.015, allocations: 0.9267 MB / 0.9084 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006166/2.016, allocations: 11.75 kB / 0.9084 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/2.018, allocations: 137.7 kB / 0.9086 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005841/2.018, allocations: 162.5 kB / 0.9087 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/2.019, allocations: 67.2 kB / 0.9088 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004266/2.023, allocations: 2.221 MB / 0.911 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.513e-06/2.023, allocations: 3.719 kB / 0.911 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009277/2.032, allocations: 1.166 MB / 0.9121 GB, free: 124.6 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006292/2.033, allocations: 149.2 kB / 0.9122 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01294/2.046, allocations: 7.643 MB / 0.9197 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/2.046, allocations: 0 / 0.9197 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003874/2.05, allocations: 3.026 MB / 0.9227 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/2.053, allocations: 402.9 kB / 0.923 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/2.07, allocations: 9.862 MB / 0.9327 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005367/2.076, allocations: 3.607 MB / 0.9362 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005788/2.081, allocations: 2.053 MB / 0.9382 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/2.082, allocations: 251.4 kB / 0.9384 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.494e-06/2.082, allocations: 1.594 kB / 0.9384 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.0906/2.173, allocations: 59.36 MB / 0.9964 GB, free: 101 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches