Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001089/0.001089, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001069/0.001069, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.586 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.2573/0.2573, allocations: 34.87 MB / 296.3 MB, free: 480 kB / 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 3.984 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.204e-05, allocations: 3.016 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0104/0.01043, allocations: 12.94 MB / 391.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008893/0.01932, allocations: 4.746 MB / 396.4 MB, free: 300 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.02094, allocations: 115.4 kB / 396.6 MB, free: 184 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.02521, allocations: 4.007 MB / 400.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.0291, allocations: 2.301 MB / 402.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.03091, allocations: 1.193 MB / 404.1 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006279/0.03719, allocations: 7.718 MB / 411.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003986/0.04118, allocations: 4.439 MB / 416.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.04562, allocations: 4.222 MB / 420.4 MB, free: 8.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/0.0494, allocations: 3.129 MB / 423.6 MB, free: 5.043 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.05048, allocations: 435.9 kB / 424 MB, free: 4.617 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.05252, allocations: 1.393 MB / 425.4 MB, free: 3.223 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002072/0.0546, allocations: 2.661 MB / 428 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.05639, allocations: 1.651 MB / 429.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005439/0.06183, allocations: 5.757 MB / 435.5 MB, free: 9.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.06183, allocations: 0 / 435.5 MB, free: 9.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.06184, allocations: 4 kB / 435.5 MB, free: 9.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002135/0.06205, allocations: 0 / 435.5 MB, free: 9.117 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.008606/0.07065, allocations: 6.768 MB / 442.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.0707, allocations: 12.03 kB / 442.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1902/0.2609, allocations: 3.013 MB / 445.3 MB, free: 72.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.266, allocations: 3.301 MB / 448.6 MB, free: 71.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2661, allocations: 283.3 kB / 448.8 MB, free: 71.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.2668, allocations: 385.3 kB / 449.2 MB, free: 71.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008726/0.2755, allocations: 7.278 MB / 456.5 MB, free: 68.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.494e-05/0.2756, allocations: 54.38 kB / 456.5 MB, free: 68.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/0.2759, allocations: 181.6 kB / 456.7 MB, free: 68.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001626/0.2775, allocations: 2.086 MB / 458.8 MB, free: 68.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/0.2838, allocations: 3.816 MB / 462.6 MB, free: 68.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.309, allocations: 50.25 MB / 0.5008 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005805/0.3148, allocations: 2.649 MB / 0.5034 GB, free: 28.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.3158, allocations: 0.6271 MB / 0.504 GB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006039/0.3218, allocations: 5.153 MB / 0.5091 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3218, allocations: 56.39 kB / 0.5091 GB, free: 26.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 4.98e-06/0.3218, allocations: 0 / 0.5091 GB, free: 26.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.03575/0.3576, allocations: 18.93 MB / 0.5276 GB, free: 18.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.3577, allocations: 208.5 kB / 0.5278 GB, free: 18.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.3612, allocations: 4.31 MB / 0.532 GB, free: 14.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.3613, allocations: 54.88 kB / 0.5321 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.3626, allocations: 4.054 MB / 0.536 GB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.363, allocations: 0.7984 MB / 0.5368 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000988/0.364, allocations: 1.495 MB / 0.5383 GB, free: 7.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.364, allocations: 480.7 kB / 0.5387 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/0.365, allocations: 0.7514 MB / 0.5395 GB, free: 6.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/0.368, allocations: 7.036 MB / 0.5463 GB, free: 12.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006311/0.3743, allocations: 8.523 MB / 0.5547 GB, free: 1.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-05/0.3743, allocations: 44 kB / 0.5547 GB, free: 1.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.008245/0.3826, allocations: 6.58 MB / 0.5611 GB, free: 11.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.3826, allocations: 72 kB / 0.5612 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.3828, allocations: 148 kB / 0.5613 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/0.3853, allocations: 1.369 MB / 0.5627 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/0.3878, allocations: 1.571 MB / 0.5642 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.395, allocations: 9.608 MB / 0.5736 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.3982, allocations: 475.3 kB / 0.5741 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.3986, allocations: 417.4 kB / 0.5744 GB, free: 13.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001267/0.3998, allocations: 0.7217 MB / 0.5752 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/0.4002, allocations: 457.3 kB / 0.5756 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.4032, allocations: 2.01 MB / 0.5776 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.4032, allocations: 28.12 kB / 0.5776 GB, free: 9.762 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.4032, allocations: 8 kB / 0.5776 GB, free: 9.754 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4032, allocations: 7.969 kB / 0.5776 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009955/0.4132, allocations: 7.19 MB / 0.5846 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.4132, allocations: 8 kB / 0.5846 GB, free: 2.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.4138, allocations: 287.5 kB / 0.5849 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.416, allocations: 0.9982 MB / 0.5859 GB, free: 1.086 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/0.4161, allocations: 40 kB / 0.5859 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/0.422, allocations: 8.671 MB / 0.5944 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.422, allocations: 12.12 kB / 0.5944 GB, free: 7.871 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.426, allocations: 3.255 MB / 0.5976 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.4265, allocations: 429.1 kB / 0.598 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.4268, allocations: 39.94 kB / 0.598 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.4277, allocations: 145.5 kB / 0.5982 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.4279, allocations: 144.6 kB / 0.5983 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/0.428, allocations: 59.98 kB / 0.5984 GB, free: 3.652 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002028/0.43, allocations: 1.9 MB / 0.6002 GB, free: 1.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.43, allocations: 0 / 0.6002 GB, free: 1.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003896/0.4339, allocations: 1.269 MB / 0.6014 GB, free: 496 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003691/0.4343, allocations: 201.8 kB / 0.6016 GB, free: 288 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005465/0.4398, allocations: 4.174 MB / 0.6057 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4398, allocations: 4 kB / 0.6057 GB, free: 12.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.4413, allocations: 1.553 MB / 0.6072 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.4429, allocations: 0.5169 MB / 0.6077 GB, free: 9.922 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.4553, allocations: 9.157 MB / 0.6167 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1584/0.6137, allocations: 1.498 MB / 0.6181 GB, free: 148.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003322/0.617, allocations: 1.721 MB / 0.6198 GB, free: 148.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/0.6175, allocations: 269.8 kB / 0.6201 GB, free: 148.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6175, allocations: 0 / 0.6201 GB, free: 148.6 MB / 490.7 MB Notification: Performance of Templates: time 0.05626/0.6738, allocations: 41.05 MB / 0.6602 GB, free: 139.6 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.743953247088939]