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.001121/0.001122, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.292/1.292, allocations: 223.2 MB / 241 MB, free: 10.16 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.0008562/0.0008562, allocations: 86.2 kB / 292.2 MB, free: 10.71 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.3076/0.3076, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 4 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3331, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.478, allocations: 108.5 MB / 0.6155 GB, free: 2.602 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4783, allocations: 75.97 kB / 0.6156 GB, free: 2.527 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5039/0.9823, allocations: 96.43 MB / 0.7098 GB, free: 96.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.9824, allocations: 0 / 0.7098 GB, free: 96.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002859/0.9827, allocations: 90.8 kB / 0.7098 GB, free: 96.46 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.01584/0.9985, allocations: 5.008 MB / 0.7147 GB, free: 94.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.9986, allocations: 13.69 kB / 0.7147 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02556/1.024, allocations: 6.718 MB / 0.7213 GB, free: 94.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/1.042, allocations: 6.025 MB / 0.7272 GB, free: 92.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/1.042, allocations: 330.8 kB / 0.7275 GB, free: 92.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003066/1.045, allocations: 445.2 kB / 0.7279 GB, free: 92.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02015/1.065, allocations: 11.06 MB / 0.7387 GB, free: 86.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/1.066, allocations: 69.03 kB / 0.7388 GB, free: 86.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007889/1.066, allocations: 205.5 kB / 0.739 GB, free: 86.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/1.068, allocations: 1.023 MB / 0.74 GB, free: 86.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/1.085, allocations: 9.295 MB / 0.7491 GB, free: 83.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04695/1.132, allocations: 47.62 MB / 0.7956 GB, free: 45.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009226/1.141, allocations: 4.132 MB / 0.7996 GB, free: 41.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/1.153, allocations: 7.487 MB / 0.8069 GB, free: 33.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.153, allocations: 55.48 kB / 0.807 GB, free: 33.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 5.179e-06/1.153, allocations: 0 / 0.807 GB, free: 33.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.1446/1.298, allocations: 40.94 MB / 0.8469 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.298, allocations: 209.8 kB / 0.8471 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006293/1.304, allocations: 3.781 MB / 0.8508 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006053/1.305, allocations: 61.7 kB / 0.8509 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.307, allocations: 3.234 MB / 0.8541 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.308, allocations: 0.8752 MB / 0.8549 GB, free: 492 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/1.309, allocations: 128 kB / 0.855 GB, free: 364 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003924/1.309, allocations: 0.5667 MB / 0.8556 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004868/1.314, allocations: 3.432 MB / 0.8589 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007433/1.321, allocations: 7.045 MB / 0.8658 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007148/1.329, allocations: 4.772 MB / 0.8705 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.138e-05/1.329, allocations: 43.89 kB / 0.8705 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.3158/1.645, allocations: 15.45 MB / 0.8856 GB, free: 127 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.645, allocations: 59.12 kB / 0.8857 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/1.645, allocations: 127.8 kB / 0.8858 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02171/1.667, allocations: 5.929 MB / 0.8916 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/1.672, allocations: 1.44 MB / 0.893 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03556/1.708, allocations: 25.7 MB / 0.9181 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006342/1.714, allocations: 395.4 kB / 0.9185 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.715, allocations: 380.1 kB / 0.9188 GB, free: 120.1 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.004656/1.72, allocations: 2.219 MB / 0.921 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.721, allocations: 396.3 kB / 0.9214 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0258/1.747, allocations: 10.83 MB / 0.9319 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-05/1.747, allocations: 24.11 kB / 0.932 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/1.747, allocations: 11.59 kB / 0.932 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/1.747, allocations: 11.48 kB / 0.932 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03975/1.787, allocations: 20.19 MB / 0.9517 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/1.787, allocations: 3.656 kB / 0.9517 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.789, allocations: 382.7 kB / 0.9521 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01791/1.807, allocations: 4.996 MB / 0.957 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004914/1.807, allocations: 47.03 kB / 0.957 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02289/1.83, allocations: 20.88 MB / 0.9774 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.83, allocations: 3.719 kB / 0.9774 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02771/1.858, allocations: 14.59 MB / 0.9916 GB, free: 87.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/1.859, allocations: 450.7 kB / 0.9921 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008171/1.86, allocations: 44 kB / 0.9921 GB, free: 86.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.862, allocations: 164.4 kB / 0.9923 GB, free: 86.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005317/1.863, allocations: 162.1 kB / 0.9924 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.863, allocations: 67.31 kB / 0.9925 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003787/1.867, allocations: 2.668 MB / 0.9951 GB, free: 83.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.867, allocations: 3.5 kB / 0.9951 GB, free: 83.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006357/1.873, allocations: 1.326 MB / 0.9964 GB, free: 82.4 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.0006335/1.874, allocations: 200.9 kB / 0.9966 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009702/1.884, allocations: 7.963 MB / 1.004 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.884, allocations: 3.219 kB / 1.004 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003651/1.887, allocations: 3.106 MB / 1.007 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.89, allocations: 491.4 kB / 1.008 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.907, allocations: 13.39 MB / 1.021 GB, free: 57.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/1.911, allocations: 3.605 MB / 1.024 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004563/1.915, allocations: 1.972 MB / 1.026 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.916, allocations: 267.4 kB / 1.027 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/1.916, allocations: 0 / 1.027 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.345/2.261, allocations: 63.7 MB / 1.089 GB, free: 134.2 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/jenkins/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