Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001067/0.001067, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001129/0.001129, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9898/0.9898, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1459/0.1459, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.637e-05, allocations: 6.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.008894/0.008921, allocations: 11.33 MB / 390.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006495/0.01542, allocations: 4.202 MB / 394.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.01711, allocations: 95.5 kB / 394.9 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.01975, allocations: 2.881 MB / 397.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.02367, allocations: 2.127 MB / 399.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.02515, allocations: 1.014 MB / 400.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006208/0.03136, allocations: 6.416 MB / 407.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003888/0.03525, allocations: 3.443 MB / 410.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.03952, allocations: 3.637 MB / 414.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/0.0427, allocations: 2.818 MB / 417.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007865/0.04349, allocations: 396 kB / 417.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.04516, allocations: 1.353 MB / 419 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.04695, allocations: 2.353 MB / 421.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.04874, allocations: 1.449 MB / 422.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005133/0.05387, allocations: 5.341 MB / 428.1 MB, free: 6.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.05388, allocations: 8 kB / 428.1 MB, free: 6.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.05388, allocations: 0 / 428.1 MB, free: 6.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.593e-05/0.05398, allocations: 0 / 428.1 MB, free: 6.348 MB / 346.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.006397/0.06037, allocations: 5.588 MB / 433.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.06042, allocations: 12.03 kB / 433.7 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.06602, allocations: 2.006 MB / 435.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.06932, allocations: 2.475 MB / 438.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.06944, allocations: 250.5 kB / 438.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/0.06986, allocations: 324.3 kB / 438.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/0.07721, allocations: 6.001 MB / 444.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.063e-05/0.0773, allocations: 47.62 kB / 444.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.07757, allocations: 159.8 kB / 445 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001543/0.07911, allocations: 1.795 MB / 446.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005895/0.08501, allocations: 2.91 MB / 449.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03221/0.1172, allocations: 44.63 MB / 494.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1554/0.2726, allocations: 1.923 MB / 496.2 MB, free: 111.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007574/0.2733, allocations: 485.1 kB / 496.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005956/0.2793, allocations: 4.415 MB / 0.4894 GB, free: 110.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.2793, allocations: 55.23 kB / 0.4894 GB, free: 110.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 4.138e-06/0.2793, allocations: 2.844 kB / 0.4894 GB, free: 110.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.02246/0.3018, allocations: 8.891 MB / 0.4981 GB, free: 110.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3018, allocations: 201.1 kB / 0.4983 GB, free: 109.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.3047, allocations: 3.752 MB / 0.502 GB, free: 107.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.3049, allocations: 53.27 kB / 0.502 GB, free: 107.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.3061, allocations: 3.561 MB / 0.5055 GB, free: 104.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/0.3067, allocations: 0.8228 MB / 0.5063 GB, free: 104.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.3078, allocations: 1.403 MB / 0.5077 GB, free: 102.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.3078, allocations: 484.7 kB / 0.5081 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.3092, allocations: 0.7269 MB / 0.5089 GB, free: 101.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.3119, allocations: 6.426 MB / 0.5151 GB, free: 92.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004991/0.3169, allocations: 7.735 MB / 0.5227 GB, free: 82.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-05/0.317, allocations: 40 kB / 0.5227 GB, free: 82.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.009225/0.3262, allocations: 5.698 MB / 0.5283 GB, free: 77.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/0.3263, allocations: 64 kB / 0.5283 GB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.3264, allocations: 132 kB / 0.5285 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.3293, allocations: 0.9684 MB / 0.5294 GB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.3327, allocations: 1.431 MB / 0.5308 GB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/0.3384, allocations: 5.947 MB / 0.5366 GB, free: 68.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/0.3429, allocations: 283.6 kB / 0.5369 GB, free: 68.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005784/0.3435, allocations: 328 kB / 0.5372 GB, free: 67.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 (791): * Single equations (assignments): 786 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001503/0.345, allocations: 0.6869 MB / 0.5379 GB, free: 67.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006502/0.3457, allocations: 421.6 kB / 0.5383 GB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.3492, allocations: 1.858 MB / 0.5401 GB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.3492, allocations: 20 kB / 0.5401 GB, free: 64.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3492, allocations: 4 kB / 0.5401 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.3493, allocations: 15.91 kB / 0.5401 GB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009181/0.3584, allocations: 5.478 MB / 0.5455 GB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.3585, allocations: 8 kB / 0.5455 GB, free: 59.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/0.3593, allocations: 280.4 kB / 0.5458 GB, free: 58.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.3618, allocations: 0.7435 MB / 0.5465 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.3619, allocations: 43.97 kB / 0.5465 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004407/0.3663, allocations: 5.28 MB / 0.5517 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3663, allocations: 8 kB / 0.5517 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.3709, allocations: 2.993 MB / 0.5546 GB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007599/0.3716, allocations: 369.3 kB / 0.555 GB, free: 49.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.372, allocations: 39.98 kB / 0.555 GB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.3731, allocations: 36 kB / 0.555 GB, free: 48.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.3733, allocations: 136.6 kB / 0.5552 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.3733, allocations: 40 kB / 0.5552 GB, free: 48.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.3746, allocations: 1.538 MB / 0.5567 GB, free: 47.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3746, allocations: 32 / 0.5567 GB, free: 47.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003587/0.3782, allocations: 1.187 MB / 0.5579 GB, free: 46.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (153): * Single equations (assignments): 148 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.3785, allocations: 190.8 kB / 0.5581 GB, free: 45.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.3818, allocations: 3.194 MB / 0.5612 GB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.3818, allocations: 0 / 0.5612 GB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008226/0.3826, allocations: 0.9113 MB / 0.5621 GB, free: 41.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.3841, allocations: 465.2 kB / 0.5625 GB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/0.393, allocations: 8.272 MB / 0.5706 GB, free: 32.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.394, allocations: 1.332 MB / 0.5719 GB, free: 31.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001358/0.3954, allocations: 0.5319 MB / 0.5724 GB, free: 30.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/0.3962, allocations: 0.6231 MB / 0.573 GB, free: 30.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3962, allocations: 0 / 0.573 GB, free: 30.33 MB / 410.7 MB Notification: Performance of Templates: time 0.05572/0.4519, allocations: 43.3 MB / 0.6153 GB, free: 3.473 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.591680980753154]