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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008781/0.0008781, allocations: 84.45 kB / 20.69 MB, free: 3.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 173.9 kB / 23.97 MB, free: 0.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.85/0.85, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1351/0.1351, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.15e-05, allocations: 9.875 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.008399/0.00843, allocations: 10.61 MB / 418.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.01452, allocations: 4.112 MB / 422.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.01534, allocations: 87.56 kB / 422.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.01787, allocations: 2.807 MB / 425.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.02034, allocations: 2.15 MB / 427.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.02146, allocations: 1.013 MB / 428.9 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.02535, allocations: 5.925 MB / 434.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1756/0.201, allocations: 3.35 MB / 438.1 MB, free: 17.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/0.2071, allocations: 2.666 MB / 440.8 MB, free: 17.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005438/0.2125, allocations: 2.833 MB / 443.6 MB, free: 17.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002055/0.2146, allocations: 398.2 kB / 444 MB, free: 17.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.2187, allocations: 1.364 MB / 445.4 MB, free: 17.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004373/0.223, allocations: 2.379 MB / 447.8 MB, free: 17.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.2266, allocations: 1.467 MB / 449.2 MB, free: 17.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.2373, allocations: 8.133 MB / 457.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2373, allocations: 0 / 457.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2373, allocations: 2.094 kB / 457.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000346/0.2377, allocations: 0 / 457.4 MB, free: 15.03 MB / 362.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.01573/0.2534, allocations: 5.657 MB / 463 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.2535, allocations: 8.719 kB / 463 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/0.2603, allocations: 2.598 MB / 465.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.2671, allocations: 3.401 MB / 469 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.2673, allocations: 239.1 kB / 469.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.269, allocations: 333.6 kB / 469.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.2844, allocations: 10.94 MB / 480.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.2846, allocations: 47.17 kB / 480.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007061/0.2853, allocations: 152.8 kB / 480.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/0.2876, allocations: 2.003 MB / 482.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.3026, allocations: 9.418 MB / 492.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.3475, allocations: 38.38 MB / 0.5181 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007972/0.3554, allocations: 3.771 MB / 0.5218 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.3577, allocations: 1.769 MB / 0.5235 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008943/0.3666, allocations: 6.016 MB / 0.5294 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.3667, allocations: 55.55 kB / 0.5294 GB, free: 15.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=180): time 9.167e-06/0.3667, allocations: 4 kB / 0.5294 GB, free: 15.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=236): time 0.08949/0.4562, allocations: 41.98 MB / 0.5704 GB, free: 6.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.4563, allocations: 201.9 kB / 0.5706 GB, free: 5.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005181/0.4614, allocations: 4.312 MB / 0.5748 GB, free: 1.477 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005853/0.462, allocations: 65.08 kB / 0.5749 GB, free: 1.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001675/0.4637, allocations: 3.288 MB / 0.5781 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.465, allocations: 0.9083 MB / 0.579 GB, free: 13.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.4666, allocations: 1.345 MB / 0.5803 GB, free: 11.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.4667, allocations: 313.1 kB / 0.5806 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.4704, allocations: 3.62 MB / 0.5842 GB, free: 7.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005735/0.4761, allocations: 7.346 MB / 0.5913 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.4865, allocations: 11.63 MB / 0.6027 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.752e-05/0.4866, allocations: 36 kB / 0.6027 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02557/0.5121, allocations: 16.14 MB / 0.6185 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/0.5122, allocations: 60 kB / 0.6185 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.5123, allocations: 128.9 kB / 0.6187 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1855/0.6978, allocations: 6.224 MB / 0.6247 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003779/0.7016, allocations: 1.492 MB / 0.6262 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.7238, allocations: 27.19 MB / 0.6527 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005118/0.7289, allocations: 485.6 kB / 0.6532 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/0.7301, allocations: 386.4 kB / 0.6536 GB, free: 160.8 MB / 0.5105 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.003989/0.7341, allocations: 2.223 MB / 0.6557 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009192/0.735, allocations: 369.3 kB / 0.6561 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.7503, allocations: 11.23 MB / 0.6671 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/0.7503, allocations: 26.89 kB / 0.6671 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.7504, allocations: 8 kB / 0.6671 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.048e-05/0.7504, allocations: 15.95 kB / 0.6671 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/0.7757, allocations: 19.01 MB / 0.6857 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/0.7757, allocations: 7.906 kB / 0.6857 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.7769, allocations: 387.4 kB / 0.686 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/0.7872, allocations: 5.309 MB / 0.6912 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004785/0.7876, allocations: 47.98 kB / 0.6913 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/0.804, allocations: 22.27 MB / 0.713 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.804, allocations: 7.938 kB / 0.713 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/0.821, allocations: 14.54 MB / 0.7272 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/0.8231, allocations: 0.9296 MB / 0.7281 GB, free: 86.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/0.8236, allocations: 44 kB / 0.7282 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.825, allocations: 245.2 kB / 0.7284 GB, free: 86.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/0.8254, allocations: 164.8 kB / 0.7286 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8256, allocations: 60 kB / 0.7286 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002674/0.8282, allocations: 2.572 MB / 0.7311 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.8282, allocations: 0 / 0.7311 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005198/0.8334, allocations: 1.506 MB / 0.7326 GB, free: 82.09 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 (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.0006133/0.8341, allocations: 216.5 kB / 0.7328 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008449/0.8425, allocations: 8.008 MB / 0.7406 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.8425, allocations: 0 / 0.7406 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/0.8454, allocations: 2.995 MB / 0.7436 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.8478, allocations: 456.5 kB / 0.744 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.8626, allocations: 12.39 MB / 0.7561 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/0.865, allocations: 2.953 MB / 0.759 GB, free: 55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.8662, allocations: 304.4 kB / 0.7593 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/0.8662, allocations: 0 / 0.7593 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.2699/1.136, allocations: 111.7 MB / 0.8683 GB, free: 135 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.953153413720429]