Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001019/0.001019, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001107/0.001107, allocations: 162.9 kB / 24.91 MB, free: 8.766 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 0.9565/0.9565, allocations: 177 MB / 205.2 MB, free: 5.441 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.2539/0.2539, allocations: 34.86 MB / 296.6 MB, free: 468 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.289e-05, allocations: 2.312 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01084/0.01087, allocations: 14.09 MB / 340 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.02162, allocations: 4.9 MB / 344.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.02445, allocations: 107.5 kB / 345 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.02922, allocations: 3.387 MB / 348.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006183/0.0354, allocations: 2.714 MB / 351.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.03782, allocations: 1.115 MB / 352.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009263/0.04708, allocations: 7.798 MB / 360 MB, free: 4.949 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006015/0.0531, allocations: 4.352 MB / 364.4 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008459/0.06156, allocations: 4.409 MB / 368.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005305/0.06686, allocations: 3.414 MB / 372.2 MB, free: 8.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.06845, allocations: 496 kB / 372.7 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/0.07169, allocations: 1.455 MB / 374.1 MB, free: 6.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003161/0.07485, allocations: 3.054 MB / 377.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.07836, allocations: 1.85 MB / 379 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009833/0.08819, allocations: 6.874 MB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.0882, allocations: 0 / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0882, allocations: 0 / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000265/0.08847, allocations: 0 / 385.9 MB, free: 10.91 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01217/0.1006, allocations: 6.567 MB / 392.5 MB, free: 4.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1007, allocations: 8.031 kB / 392.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.1059, allocations: 1.823 MB / 394.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00526/0.1111, allocations: 2.826 MB / 397.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.1113, allocations: 316.4 kB / 397.4 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007634/0.1121, allocations: 432.2 kB / 397.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.1229, allocations: 7.325 MB / 405.2 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.123, allocations: 55.56 kB / 405.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.1235, allocations: 207.8 kB / 405.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/0.1263, allocations: 2.857 MB / 408.3 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00851/0.1348, allocations: 3.929 MB / 412.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2017/0.3366, allocations: 43.35 MB / 455.6 MB, free: 78.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005405/0.342, allocations: 2.566 MB / 458.1 MB, free: 78.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.343, allocations: 0.7263 MB / 458.9 MB, free: 78.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009112/0.3521, allocations: 6.653 MB / 465.5 MB, free: 77.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3521, allocations: 58.53 kB / 465.6 MB, free: 77.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 6.051e-06/0.3521, allocations: 0 / 465.6 MB, free: 77.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.0221/0.3742, allocations: 9.912 MB / 475.5 MB, free: 74.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.3743, allocations: 209.7 kB / 475.7 MB, free: 74.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.378, allocations: 4.33 MB / 480 MB, free: 70.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.3783, allocations: 65.83 kB / 480.1 MB, free: 70.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.3797, allocations: 4.334 MB / 484.4 MB, free: 66.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007616/0.3805, allocations: 1.174 MB / 485.6 MB, free: 65.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.3818, allocations: 1.665 MB / 487.3 MB, free: 64.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.3819, allocations: 307 kB / 487.6 MB, free: 63.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.384, allocations: 1.268 MB / 488.8 MB, free: 62.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.3869, allocations: 6.266 MB / 495.1 MB, free: 53.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005602/0.3925, allocations: 8.207 MB / 0.4915 GB, free: 43.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.492e-05/0.3926, allocations: 52 kB / 0.4916 GB, free: 43.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.007736/0.4004, allocations: 6.437 MB / 0.4978 GB, free: 37.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.4004, allocations: 80 kB / 0.4979 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.4006, allocations: 180 kB / 0.4981 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.4024, allocations: 0.8359 MB / 0.4989 GB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/0.4058, allocations: 1.977 MB / 0.5008 GB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.4094, allocations: 4.363 MB / 0.5051 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/0.4134, allocations: 363.7 kB / 0.5054 GB, free: 29.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006128/0.414, allocations: 452 kB / 0.5059 GB, free: 28.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1108): * Single equations (assignments): 1100 * Array equations: 6 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001875/0.4159, allocations: 0.8246 MB / 0.5067 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/0.4166, allocations: 331.6 kB / 0.507 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/0.4195, allocations: 2.14 MB / 0.5091 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/0.4195, allocations: 51.98 kB / 0.5091 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4195, allocations: 9.531 kB / 0.5091 GB, free: 25.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.4195, allocations: 11.95 kB / 0.5092 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009174/0.4287, allocations: 6.362 MB / 0.5154 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4287, allocations: 11.94 kB / 0.5154 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.4298, allocations: 406.8 kB / 0.5158 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.4315, allocations: 0.7924 MB / 0.5165 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.4317, allocations: 55.98 kB / 0.5166 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.4344, allocations: 3.422 MB / 0.5199 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.4344, allocations: 19.86 kB / 0.52 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00402/0.4384, allocations: 3.118 MB / 0.523 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.4393, allocations: 440.6 kB / 0.5234 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.4397, allocations: 55.92 kB / 0.5235 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.4406, allocations: 52 kB / 0.5235 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.4409, allocations: 177.5 kB / 0.5237 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.441, allocations: 63.98 kB / 0.5238 GB, free: 9.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.4424, allocations: 1.583 MB / 0.5253 GB, free: 8.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4424, allocations: 0 / 0.5253 GB, free: 8.207 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004615/0.447, allocations: 1.559 MB / 0.5268 GB, free: 6.648 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 (239): * Single equations (assignments): 231 * Array equations: 6 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004417/0.4475, allocations: 202.1 kB / 0.527 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004368/0.4518, allocations: 3.894 MB / 0.5308 GB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001713/0.452, allocations: 117 kB / 0.5309 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.4531, allocations: 0.9762 MB / 0.5319 GB, free: 1.438 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.456, allocations: 0.8732 MB / 0.5327 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.4732, allocations: 11.35 MB / 0.5438 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/0.4754, allocations: 1.826 MB / 0.5456 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002577/0.478, allocations: 0.7133 MB / 0.5463 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.4793, allocations: 0.7355 MB / 0.547 GB, free: 1.734 MB / 426.7 MB Notification: Performance of SimCode: time 2.735e-06/0.4793, allocations: 4 kB / 0.547 GB, free: 1.73 MB / 426.7 MB Notification: Performance of Templates: time 0.07577/0.5551, allocations: 51.04 MB / 0.5969 GB, free: 15.05 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.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.514596099033952]