Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008888/0.0008887, allocations: 178.7 kB / 18.09 MB, free: 3.742 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.315/1.315, allocations: 223.3 MB / 242.1 MB, free: 11.66 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.0008133/0.000813, allocations: 91.38 kB / 293.3 MB, free: 10.75 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.3232/0.3232, allocations: 44.15 MB / 388.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003787, allocations: 16 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3427, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4722, allocations: 108.6 MB / 0.6168 GB, free: 2.398 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.4726, allocations: 83.94 kB / 0.6169 GB, free: 2.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5026/0.9752, allocations: 94.85 MB / 0.7095 GB, free: 96.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.9752, allocations: 1.438 kB / 0.7095 GB, free: 96.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003854/0.9756, allocations: 86.34 kB / 0.7096 GB, free: 96.45 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01715/0.9928, allocations: 4.893 MB / 0.7144 GB, free: 94.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.9928, allocations: 9.125 kB / 0.7144 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02144/1.014, allocations: 5.087 MB / 0.7193 GB, free: 94.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/1.028, allocations: 4.869 MB / 0.7241 GB, free: 93.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/1.029, allocations: 326 kB / 0.7244 GB, free: 93.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00253/1.031, allocations: 444.4 kB / 0.7248 GB, free: 93.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/1.056, allocations: 10.98 MB / 0.7356 GB, free: 87.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003042/1.056, allocations: 68.41 kB / 0.7356 GB, free: 87.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/1.058, allocations: 212.8 kB / 0.7358 GB, free: 87.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001417/1.059, allocations: 1.02 MB / 0.7368 GB, free: 87.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/1.078, allocations: 9.197 MB / 0.7458 GB, free: 84.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04774/1.126, allocations: 47.55 MB / 0.7922 GB, free: 48.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008926/1.135, allocations: 4.135 MB / 0.7963 GB, free: 45.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/1.137, allocations: 1.823 MB / 0.7981 GB, free: 43.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/1.147, allocations: 7.424 MB / 0.8053 GB, free: 36.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.147, allocations: 51.56 kB / 0.8054 GB, free: 36.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 7.885e-06/1.147, allocations: 0 / 0.8054 GB, free: 36.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.1345/1.281, allocations: 40.69 MB / 0.8451 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.282, allocations: 205.9 kB / 0.8453 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006703/1.288, allocations: 4.266 MB / 0.8495 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005988/1.289, allocations: 57.7 kB / 0.8495 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002399/1.291, allocations: 3.233 MB / 0.8527 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/1.292, allocations: 0.8736 MB / 0.8535 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/1.293, allocations: 124 kB / 0.8536 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004094/1.293, allocations: 0.5744 MB / 0.8542 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/1.298, allocations: 3.428 MB / 0.8576 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007816/1.306, allocations: 7.068 MB / 0.8645 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/1.32, allocations: 11.29 MB / 0.8755 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.32, allocations: 36 kB / 0.8755 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.3146/1.635, allocations: 15.45 MB / 0.8906 GB, free: 129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/1.635, allocations: 62.78 kB / 0.8907 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/1.635, allocations: 126.6 kB / 0.8908 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01964/1.655, allocations: 5.915 MB / 0.8966 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/1.66, allocations: 1.436 MB / 0.898 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03272/1.693, allocations: 25.01 MB / 0.9224 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006331/1.699, allocations: 393.7 kB / 0.9228 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.7, allocations: 375.5 kB / 0.9231 GB, free: 121.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 741 * 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.00445/1.705, allocations: 2.214 MB / 0.9253 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008861/1.706, allocations: 402.9 kB / 0.9257 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02347/1.729, allocations: 10.83 MB / 0.9362 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.612e-05/1.729, allocations: 29.42 kB / 0.9363 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/1.729, allocations: 10.09 kB / 0.9363 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/1.729, allocations: 11.25 kB / 0.9363 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03601/1.765, allocations: 20.2 MB / 0.956 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-05/1.766, allocations: 7.562 kB / 0.956 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.768, allocations: 383.1 kB / 0.9564 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0167/1.784, allocations: 4.992 MB / 0.9613 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005043/1.785, allocations: 46.7 kB / 0.9613 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02218/1.807, allocations: 20.18 MB / 0.981 GB, free: 97.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.807, allocations: 8 kB / 0.981 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/1.833, allocations: 13.98 MB / 0.9947 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.834, allocations: 445.5 kB / 0.9951 GB, free: 83.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/1.835, allocations: 44 kB / 0.9951 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/1.837, allocations: 170.1 kB / 0.9953 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005807/1.838, allocations: 158.8 kB / 0.9955 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.838, allocations: 60.55 kB / 0.9955 GB, free: 83.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003617/1.842, allocations: 2.676 MB / 0.9981 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/1.842, allocations: 3.125 kB / 0.9981 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005842/1.848, allocations: 1.322 MB / 0.9994 GB, free: 79.05 MB / 0.5261 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 (167): * Single equations (assignments): 162 * 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.0005423/1.848, allocations: 193.9 kB / 0.9996 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.858, allocations: 7.963 MB / 1.007 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.858, allocations: 3.844 kB / 1.007 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003907/1.862, allocations: 3.118 MB / 1.01 GB, free: 67.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/1.868, allocations: 0.5042 MB / 1.011 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/1.884, allocations: 13.43 MB / 1.024 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003266/1.888, allocations: 3.508 MB / 1.027 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004825/1.892, allocations: 1.978 MB / 1.029 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008932/1.893, allocations: 267.4 kB / 1.03 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.893, allocations: 0.9375 kB / 1.03 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.3506/2.244, allocations: 63.84 MB / 1.092 GB, free: 136.5 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches