Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.0008593/0.0008593, allocations: 88.28 kB / 21.43 MB, free: 3.125 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.003971/0.003971, allocations: 148.8 kB / 24.69 MB, free: 9.414 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.896/0.896, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.48e-05/4.681e-05, allocations: 7.203 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01341/0.01346, allocations: 11.77 MB / 337.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.0238, allocations: 4.654 MB / 342.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.02685, allocations: 107.4 kB / 342.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.03201, allocations: 4.272 MB / 346.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.03661, allocations: 2.25 MB / 348.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.03847, allocations: 1.204 MB / 350 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005191/0.04366, allocations: 6.805 MB / 356.8 MB, free: 212 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003205/0.04686, allocations: 4.58 MB / 361.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.0494, allocations: 3.29 MB / 364.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.05183, allocations: 3.106 MB / 367.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.05228, allocations: 0.5 MB / 368.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.05381, allocations: 1.572 MB / 369.9 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.05516, allocations: 2.762 MB / 372.6 MB, free: 312 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.05664, allocations: 1.757 MB / 374.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006088/0.06272, allocations: 9.698 MB / 384.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.06273, allocations: 0 / 384.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06273, allocations: 0 / 384.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.747e-05/0.06282, allocations: 0 / 384.1 MB, free: 4.812 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.006734/0.06955, allocations: 6.143 MB / 390.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.0696, allocations: 15.98 kB / 390.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.07522, allocations: 2.657 MB / 392.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.07972, allocations: 3.678 MB / 396.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.07985, allocations: 308.3 kB / 396.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005667/0.08042, allocations: 433.2 kB / 397.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.09263, allocations: 12.52 MB / 409.8 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.025e-05/0.09272, allocations: 47.59 kB / 409.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003215/0.09304, allocations: 191.8 kB / 410.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/0.09471, allocations: 2.039 MB / 412.1 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.1065, allocations: 10.57 MB / 422.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1833/0.2899, allocations: 40.97 MB / 463.6 MB, free: 84.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006142/0.296, allocations: 4.412 MB / 468.1 MB, free: 84.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.2972, allocations: 1.879 MB / 469.9 MB, free: 84.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005035/0.3023, allocations: 5.936 MB / 475.9 MB, free: 81.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3023, allocations: 50.28 kB / 475.9 MB, free: 81.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.847e-06/0.3023, allocations: 0 / 475.9 MB, free: 81.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.03057/0.3329, allocations: 20.47 MB / 496.4 MB, free: 64.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3329, allocations: 205.9 kB / 496.6 MB, free: 64.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.336, allocations: 4.466 MB / 0.4893 GB, free: 59.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/0.3361, allocations: 61.7 kB / 0.4894 GB, free: 59.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008491/0.3369, allocations: 3.645 MB / 0.4929 GB, free: 56.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.3372, allocations: 0.8671 MB / 0.4938 GB, free: 55.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008856/0.3381, allocations: 1.33 MB / 0.4951 GB, free: 54.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.675e-05/0.3382, allocations: 305.1 kB / 0.4954 GB, free: 53.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.34, allocations: 2.367 MB / 0.4977 GB, free: 51.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.3425, allocations: 6.219 MB / 0.5038 GB, free: 43.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/0.3474, allocations: 9.173 MB / 0.5127 GB, free: 32.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-05/0.3474, allocations: 40 kB / 0.5127 GB, free: 32.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.008287/0.3557, allocations: 9.523 MB / 0.522 GB, free: 22.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.3557, allocations: 60 kB / 0.5221 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.44e-05/0.3558, allocations: 136.1 kB / 0.5222 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.3578, allocations: 1.372 MB / 0.5236 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.3598, allocations: 1.474 MB / 0.525 GB, free: 19.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.3659, allocations: 8.271 MB / 0.5331 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.3685, allocations: 419.5 kB / 0.5335 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.3687, allocations: 388 kB / 0.5339 GB, free: 10.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002387/0.3711, allocations: 2.478 MB / 0.5363 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.3714, allocations: 397.3 kB / 0.5367 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.3756, allocations: 4.076 MB / 0.5406 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.3756, allocations: 27.83 kB / 0.5407 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3756, allocations: 4 kB / 0.5407 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3756, allocations: 15.95 kB / 0.5407 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009851/0.3855, allocations: 8.739 MB / 0.5492 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.3855, allocations: 4 kB / 0.5492 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/0.3862, allocations: 331.6 kB / 0.5495 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.3881, allocations: 1.144 MB / 0.5507 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.3883, allocations: 51.92 kB / 0.5507 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006273/0.3945, allocations: 6.97 MB / 0.5575 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3945, allocations: 15.69 kB / 0.5575 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/0.4015, allocations: 6.877 MB / 0.5642 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/0.4021, allocations: 393.3 kB / 0.5646 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.4024, allocations: 52.36 kB / 0.5647 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.4033, allocations: 159.8 kB / 0.5648 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.4035, allocations: 144.9 kB / 0.565 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.4036, allocations: 67.98 kB / 0.565 GB, free: 10.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002557/0.4062, allocations: 2.648 MB / 0.5676 GB, free: 7.762 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4062, allocations: 11.94 kB / 0.5676 GB, free: 7.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003613/0.4098, allocations: 1.312 MB / 0.5689 GB, free: 6.438 MB / 442.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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004659/0.4102, allocations: 246.1 kB / 0.5691 GB, free: 6.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005273/0.4155, allocations: 5.529 MB / 0.5745 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4155, allocations: 0.875 kB / 0.5745 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.4173, allocations: 1.751 MB / 0.5762 GB, free: 14.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.4188, allocations: 494.8 kB / 0.5767 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.4312, allocations: 11.72 MB / 0.5882 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.4339, allocations: 3.316 MB / 0.5914 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/0.4346, allocations: 308.4 kB / 0.5917 GB, free: 14.94 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4346, allocations: 7.938 kB / 0.5917 GB, free: 14.93 MB / 474.7 MB Notification: Performance of Templates: time 0.2261/0.6608, allocations: 92.13 MB / 0.6817 GB, free: 127.5 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.611611199565232]