Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.0008381, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004433/0.004433, allocations: 158.9 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9071/0.9071, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.216e-05, allocations: 8.891 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.1923/0.1923, allocations: 10.52 MB / 453.9 MB, free: 38.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007469/0.1998, allocations: 4.119 MB / 458.1 MB, free: 35.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.2013, allocations: 91.81 kB / 458.1 MB, free: 35.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.204, allocations: 2.796 MB / 460.9 MB, free: 34.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.2075, allocations: 2.11 MB / 463 MB, free: 33.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2092, allocations: 1.004 MB / 464.1 MB, free: 33.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005412/0.2146, allocations: 6.411 MB / 470.5 MB, free: 30.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.2171, allocations: 3.326 MB / 473.8 MB, free: 29.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.2197, allocations: 2.643 MB / 476.4 MB, free: 28.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.2218, allocations: 2.817 MB / 479.2 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000378/0.2222, allocations: 395.1 kB / 479.6 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.2237, allocations: 1.351 MB / 481 MB, free: 27.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.2252, allocations: 2.346 MB / 483.3 MB, free: 26.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.2266, allocations: 1.449 MB / 484.8 MB, free: 25.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008655/0.2352, allocations: 8.064 MB / 492.8 MB, free: 22.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2352, allocations: 0 / 492.8 MB, free: 22.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.2352, allocations: 1.938 kB / 492.8 MB, free: 22.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000162/0.2354, allocations: 0 / 492.8 MB, free: 22.66 MB / 410.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.0107/0.2461, allocations: 5.616 MB / 498.5 MB, free: 19.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2462, allocations: 13.77 kB / 498.5 MB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/0.2525, allocations: 2.582 MB / 0.4893 GB, free: 18.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005244/0.2577, allocations: 3.302 MB / 0.4925 GB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.2579, allocations: 236 kB / 0.4928 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006728/0.2585, allocations: 337.1 kB / 0.4931 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.2712, allocations: 10.94 MB / 0.5038 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.2713, allocations: 51.53 kB / 0.5038 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.2717, allocations: 155.9 kB / 0.504 GB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00168/0.2734, allocations: 1.994 MB / 0.5059 GB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.2852, allocations: 9.424 MB / 0.5151 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.3218, allocations: 38.31 MB / 0.5525 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006387/0.3282, allocations: 3.765 MB / 0.5562 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.3301, allocations: 1.783 MB / 0.558 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006771/0.3369, allocations: 6 MB / 0.5638 GB, free: 8.551 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3369, allocations: 55.5 kB / 0.5639 GB, free: 8.488 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 4.799e-06/0.3369, allocations: 3.938 kB / 0.5639 GB, free: 8.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.08447/0.4214, allocations: 41.9 MB / 0.6048 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.4215, allocations: 213.9 kB / 0.605 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/0.4263, allocations: 4.205 MB / 0.6091 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003572/0.4267, allocations: 61.7 kB / 0.6092 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.4281, allocations: 3.28 MB / 0.6124 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/0.4288, allocations: 0.9069 MB / 0.6132 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.4305, allocations: 1.345 MB / 0.6146 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.4306, allocations: 301.1 kB / 0.6148 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/0.4339, allocations: 3.624 MB / 0.6184 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005001/0.4389, allocations: 7.344 MB / 0.6256 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.194/0.6328, allocations: 11.63 MB / 0.6369 GB, free: 147 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.36e-05/0.6329, allocations: 37.53 kB / 0.637 GB, free: 147 MB / 0.5261 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02181/0.6547, allocations: 16.15 MB / 0.6527 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.6548, allocations: 58.56 kB / 0.6528 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.095e-05/0.6549, allocations: 129.3 kB / 0.6529 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/0.6665, allocations: 6.221 MB / 0.659 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.6695, allocations: 1.486 MB / 0.6604 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/0.6934, allocations: 27.18 MB / 0.687 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.6976, allocations: 470 kB / 0.6874 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/0.698, allocations: 385.7 kB / 0.6878 GB, free: 128.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * 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 (778): * Single equations (assignments): 773 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003004/0.701, allocations: 2.215 MB / 0.6899 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/0.7016, allocations: 371.4 kB / 0.6903 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/0.7159, allocations: 11.22 MB / 0.7013 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-05/0.7159, allocations: 28 kB / 0.7013 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.7159, allocations: 8 kB / 0.7013 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.716, allocations: 15.91 kB / 0.7013 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/0.7382, allocations: 18.98 MB / 0.7198 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.7383, allocations: 11.34 kB / 0.7199 GB, free: 99.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.7393, allocations: 387.4 kB / 0.7202 GB, free: 99.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009804/0.7491, allocations: 5.305 MB / 0.7254 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003485/0.7494, allocations: 44 kB / 0.7255 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/0.7653, allocations: 22.27 MB / 0.7472 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.7653, allocations: 11.94 kB / 0.7472 GB, free: 71.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/0.7817, allocations: 14.53 MB / 0.7614 GB, free: 57.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.7828, allocations: 384.9 kB / 0.7618 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.7832, allocations: 40 kB / 0.7618 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.7845, allocations: 231.6 kB / 0.762 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/0.7849, allocations: 161 kB / 0.7622 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.785, allocations: 68 kB / 0.7622 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002573/0.7876, allocations: 2.493 MB / 0.7647 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.01e-07/0.7876, allocations: 0 / 0.7647 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00431/0.7919, allocations: 1.482 MB / 0.7661 GB, free: 52.52 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00046/0.7924, allocations: 202.6 kB / 0.7663 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007187/0.7996, allocations: 8.003 MB / 0.7741 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7996, allocations: 0 / 0.7741 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002502/0.8021, allocations: 2.999 MB / 0.7771 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.8041, allocations: 450.2 kB / 0.7775 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.817, allocations: 12.37 MB / 0.7896 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/0.8192, allocations: 2.949 MB / 0.7925 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.8204, allocations: 300.5 kB / 0.7927 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.054e-06/0.8204, allocations: 0 / 0.7927 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.2696/1.09, allocations: 111 MB / 0.9011 GB, free: 145.5 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.380515274591744]