Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001041/0.001041, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001106/0.001106, allocations: 165.8 kB / 24.99 MB, free: 8.797 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.9637/0.9637, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2655/0.2655, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.211e-05, allocations: 2.312 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01013/0.01015, allocations: 12.91 MB / 390.9 MB, free: 6.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007114/0.01727, allocations: 4.734 MB / 395.6 MB, free: 1.285 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.01831, allocations: 115.4 kB / 395.8 MB, free: 1.172 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003662/0.02198, allocations: 3.987 MB / 399.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.02504, allocations: 2.302 MB / 402 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.02649, allocations: 1.197 MB / 403.2 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005545/0.03204, allocations: 7.698 MB / 410.9 MB, free: 1.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003579/0.03562, allocations: 4.435 MB / 415.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.03868, allocations: 3.192 MB / 418.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.04166, allocations: 3.235 MB / 421.8 MB, free: 7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005147/0.04217, allocations: 444 kB / 422.2 MB, free: 6.566 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.04381, allocations: 1.397 MB / 423.6 MB, free: 5.168 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.04533, allocations: 2.681 MB / 426.3 MB, free: 2.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.0466, allocations: 1.659 MB / 428 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004271/0.05087, allocations: 5.804 MB / 433.8 MB, free: 10.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.05087, allocations: 3.938 kB / 433.8 MB, free: 10.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.05087, allocations: 0 / 433.8 MB, free: 10.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.303e-05/0.05093, allocations: 0 / 433.8 MB, free: 10.99 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007591/0.05852, allocations: 6.846 MB / 440.6 MB, free: 4.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.05855, allocations: 8.031 kB / 440.6 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00712/0.06568, allocations: 3.091 MB / 443.7 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1676/0.2332, allocations: 3.454 MB / 447.2 MB, free: 98.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.2334, allocations: 286 kB / 447.5 MB, free: 98.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007639/0.2342, allocations: 387.3 kB / 447.8 MB, free: 98.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.2448, allocations: 7.326 MB / 455.2 MB, free: 94.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/0.245, allocations: 54.05 kB / 455.2 MB, free: 94.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.2454, allocations: 182.9 kB / 455.4 MB, free: 94.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.2472, allocations: 2.138 MB / 457.5 MB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.257, allocations: 4.14 MB / 461.7 MB, free: 93.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/0.293, allocations: 49.96 MB / 0.4996 GB, free: 53.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009077/0.3021, allocations: 3.183 MB / 0.5028 GB, free: 52.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.3037, allocations: 0.9058 MB / 0.5036 GB, free: 52.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008556/0.3123, allocations: 5.616 MB / 0.5091 GB, free: 49.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.3123, allocations: 66.05 kB / 0.5092 GB, free: 49.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 5.28e-06/0.3123, allocations: 0 / 0.5092 GB, free: 49.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.07188/0.3842, allocations: 27.12 MB / 0.5357 GB, free: 25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.3843, allocations: 213.8 kB / 0.5359 GB, free: 24.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.3895, allocations: 4.07 MB / 0.5399 GB, free: 20.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006288/0.3901, allocations: 65.7 kB / 0.5399 GB, free: 20.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/0.3921, allocations: 3.856 MB / 0.5437 GB, free: 16.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.3932, allocations: 1.051 MB / 0.5447 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.3946, allocations: 1.504 MB / 0.5462 GB, free: 14.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.3946, allocations: 484.8 kB / 0.5466 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.3963, allocations: 1.001 MB / 0.5476 GB, free: 12.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/0.3996, allocations: 6.759 MB / 0.5542 GB, free: 3.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006945/0.4065, allocations: 8.519 MB / 0.5625 GB, free: 8.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.4066, allocations: 40 kB / 0.5626 GB, free: 8.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01646/0.4231, allocations: 8.527 MB / 0.5709 GB, free: 15.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4232, allocations: 63.94 kB / 0.571 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004374/0.4236, allocations: 140 kB / 0.5711 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007786/0.4314, allocations: 3.629 MB / 0.5746 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/0.4349, allocations: 1.478 MB / 0.5761 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.4523, allocations: 13.37 MB / 0.5891 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.457, allocations: 491.4 kB / 0.5896 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009712/0.4579, allocations: 410.4 kB / 0.59 GB, free: 11.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.002414/0.4604, allocations: 0.7003 MB / 0.5907 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/0.4614, allocations: 489.2 kB / 0.5912 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008438/0.4699, allocations: 4.547 MB / 0.5956 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/0.4699, allocations: 28 kB / 0.5956 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/0.47, allocations: 12 kB / 0.5956 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.024e-05/0.47, allocations: 19.95 kB / 0.5956 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2301/0.7001, allocations: 10.4 MB / 0.6058 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.7001, allocations: 5.594 kB / 0.6058 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.7009, allocations: 298.6 kB / 0.6061 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005995/0.7069, allocations: 3.235 MB / 0.6092 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002258/0.7071, allocations: 50.48 kB / 0.6093 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.7199, allocations: 12.47 MB / 0.6215 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7199, allocations: 6.844 kB / 0.6215 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009364/0.7292, allocations: 5.91 MB / 0.6273 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.7304, allocations: 433.6 kB / 0.6277 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004234/0.7308, allocations: 52.47 kB / 0.6277 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.732, allocations: 237.4 kB / 0.6279 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006227/0.7326, allocations: 203.2 kB / 0.6281 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.7328, allocations: 72.09 kB / 0.6282 GB, free: 115.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002163/0.7349, allocations: 1.815 MB / 0.63 GB, free: 114.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7349, allocations: 0 / 0.63 GB, free: 114.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004824/0.7398, allocations: 1.591 MB / 0.6315 GB, free: 114.5 MB / 458.7 MB 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005113/0.7403, allocations: 206.2 kB / 0.6317 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008049/0.7483, allocations: 5.113 MB / 0.6367 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.7483, allocations: 0 / 0.6367 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.7515, allocations: 2.219 MB / 0.6389 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.7541, allocations: 0.5263 MB / 0.6394 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.769, allocations: 9.949 MB / 0.6491 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/0.7712, allocations: 1.573 MB / 0.6507 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002902/0.7741, allocations: 1.685 MB / 0.6523 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.7747, allocations: 273.2 kB / 0.6526 GB, free: 105.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7747, allocations: 0 / 0.6526 GB, free: 105.8 MB / 458.7 MB Notification: Performance of Templates: time 0.07291/0.8476, allocations: 67.89 MB / 0.7189 GB, free: 43.66 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.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: 5.100177187006921]