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.001575/0.001575, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001474/0.001474, allocations: 156.4 kB / 24.98 MB, free: 8.75 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 1.026/1.026, allocations: 177 MB / 205.2 MB, free: 5.59 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.2802/0.2802, allocations: 34.86 MB / 296.6 MB, free: 0.5625 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.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 1.462e-06/1.462e-06, allocations: 3.938 kB / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.679e-05, allocations: 4.844 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.009866/0.009883, allocations: 12.9 MB / 391.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007596/0.01748, allocations: 4.734 MB / 396.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.01888, allocations: 115.4 kB / 396.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.02279, allocations: 3.991 MB / 400.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.02664, allocations: 2.294 MB / 402.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.02835, allocations: 1.201 MB / 404 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006365/0.03471, allocations: 7.704 MB / 411.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.03805, allocations: 4.435 MB / 416.1 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.04085, allocations: 3.192 MB / 419.3 MB, free: 9.664 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.04334, allocations: 3.231 MB / 422.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004763/0.04382, allocations: 444 kB / 423 MB, free: 5.992 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.04525, allocations: 1.396 MB / 424.4 MB, free: 4.594 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.04666, allocations: 2.677 MB / 427 MB, free: 1.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.0478, allocations: 1.667 MB / 428.7 MB, free: 244 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.05191, allocations: 5.812 MB / 434.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.05191, allocations: 0 / 434.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.05192, allocations: 0 / 434.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.357e-05/0.05196, allocations: 0 / 434.5 MB, free: 10.4 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.007473/0.05943, allocations: 6.838 MB / 441.4 MB, free: 3.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.05947, allocations: 11.97 kB / 441.4 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006517/0.06599, allocations: 3.091 MB / 444.5 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1631/0.2291, allocations: 3.448 MB / 447.9 MB, free: 98.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.2293, allocations: 290.5 kB / 448.2 MB, free: 98.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006803/0.23, allocations: 382.1 kB / 448.6 MB, free: 98.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00895/0.239, allocations: 7.324 MB / 455.9 MB, free: 94.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.2391, allocations: 60.5 kB / 456 MB, free: 94.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.2394, allocations: 182.7 kB / 456.1 MB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00187/0.2413, allocations: 2.142 MB / 458.3 MB, free: 93.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007805/0.2491, allocations: 4.139 MB / 462.4 MB, free: 93.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03094/0.28, allocations: 49.96 MB / 0.5004 GB, free: 52.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009848/0.2899, allocations: 3.171 MB / 0.5035 GB, free: 52.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.2915, allocations: 0.9108 MB / 0.5044 GB, free: 52.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008133/0.2996, allocations: 5.625 MB / 0.5098 GB, free: 48.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.2997, allocations: 65.47 kB / 0.5099 GB, free: 48.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 4.679e-06/0.2997, allocations: 0 / 0.5099 GB, free: 48.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.05611/0.3558, allocations: 27.12 MB / 0.5364 GB, free: 24.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3558, allocations: 209.9 kB / 0.5366 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.3589, allocations: 4.066 MB / 0.5406 GB, free: 19.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.3591, allocations: 61.7 kB / 0.5406 GB, free: 19.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.3603, allocations: 3.867 MB / 0.5444 GB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.3609, allocations: 1.051 MB / 0.5454 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.362, allocations: 1.508 MB / 0.5469 GB, free: 13.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.3621, allocations: 480.8 kB / 0.5474 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.3635, allocations: 0.9975 MB / 0.5483 GB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.3662, allocations: 6.759 MB / 0.5549 GB, free: 2.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/0.3727, allocations: 8.52 MB / 0.5633 GB, free: 7.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-05/0.3728, allocations: 36 kB / 0.5633 GB, free: 7.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01266/0.3854, allocations: 8.536 MB / 0.5716 GB, free: 14.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.3855, allocations: 64 kB / 0.5717 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.3856, allocations: 132 kB / 0.5718 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00758/0.3932, allocations: 3.629 MB / 0.5754 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.3957, allocations: 1.474 MB / 0.5768 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.4123, allocations: 13.36 MB / 0.5898 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/0.4156, allocations: 499.3 kB / 0.5903 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/0.416, allocations: 411.9 kB / 0.5907 GB, free: 10.73 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.001582/0.4176, allocations: 0.708 MB / 0.5914 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007297/0.4183, allocations: 493.2 kB / 0.5919 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007696/0.426, allocations: 4.531 MB / 0.5963 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.426, allocations: 28 kB / 0.5963 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.4261, allocations: 16 kB / 0.5963 GB, free: 4.922 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.4261, allocations: 11.95 kB / 0.5964 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1909/0.617, allocations: 10.4 MB / 0.6065 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.617, allocations: 5.219 kB / 0.6065 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.6177, allocations: 299.8 kB / 0.6068 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006032/0.6238, allocations: 3.238 MB / 0.61 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002264/0.624, allocations: 47.38 kB / 0.61 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.6372, allocations: 12.48 MB / 0.6222 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.6372, allocations: 14.95 kB / 0.6222 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.6483, allocations: 5.904 MB / 0.628 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.6498, allocations: 435 kB / 0.6284 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009115/0.6507, allocations: 46.06 kB / 0.6284 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/0.6525, allocations: 240.3 kB / 0.6287 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007363/0.6533, allocations: 198.7 kB / 0.6288 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.6534, allocations: 71.83 kB / 0.6289 GB, free: 114.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00297/0.6564, allocations: 1.813 MB / 0.6307 GB, free: 114.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6564, allocations: 0 / 0.6307 GB, free: 114.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006209/0.6626, allocations: 1.596 MB / 0.6322 GB, free: 114 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.0005997/0.6632, allocations: 206.9 kB / 0.6324 GB, free: 113.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009269/0.6725, allocations: 5.114 MB / 0.6374 GB, free: 112.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.6725, allocations: 0.9688 kB / 0.6374 GB, free: 112.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003188/0.6757, allocations: 2.21 MB / 0.6396 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.6786, allocations: 0.5402 MB / 0.6401 GB, free: 110.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.693, allocations: 9.946 MB / 0.6498 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/0.6952, allocations: 1.577 MB / 0.6514 GB, free: 105.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003049/0.6982, allocations: 1.672 MB / 0.653 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/0.6989, allocations: 277.8 kB / 0.6533 GB, free: 105.4 MB / 458.7 MB Notification: Performance of SimCode: time 3.186e-06/0.6989, allocations: 3.5 kB / 0.6533 GB, free: 105.4 MB / 458.7 MB Notification: Performance of Templates: time 0.07606/0.775, allocations: 67.9 MB / 0.7196 GB, free: 42.52 MB / 458.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: 5.122325143078342]