Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 70.11 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 153.3 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 47.05 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.0922, allocations: 52.17 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01449/0.1067, allocations: 11.79 MB / 383.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009529/0.1162, allocations: 4.635 MB / 388 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.1175, allocations: 103.5 kB / 388.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007526/0.125, allocations: 4.073 MB / 392.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.13, allocations: 2.218 MB / 394.4 MB, free: 444 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.1323, allocations: 1.104 MB / 395.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007597/0.1399, allocations: 5.982 MB / 401.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004644/0.1445, allocations: 4.057 MB / 405.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.1474, allocations: 2.193 MB / 407.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.1514, allocations: 2.889 MB / 410.6 MB, free: 112 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009356/0.1523, allocations: 0.4922 MB / 411.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.155, allocations: 1.529 MB / 412.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002631/0.1577, allocations: 2.649 MB / 415.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002527/0.1602, allocations: 2.187 MB / 417.5 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.1705, allocations: 9.621 MB / 427.1 MB, free: 15.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1705, allocations: 0 / 427.1 MB, free: 15.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1705, allocations: 0 / 427.1 MB, free: 15.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001638/0.1707, allocations: 0 / 427.1 MB, free: 15.57 MB / 398.1 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.01156/0.1823, allocations: 6.116 MB / 433.2 MB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1823, allocations: 12.92 kB / 433.2 MB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.1939, allocations: 2.696 MB / 435.9 MB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008954/0.2029, allocations: 3.761 MB / 439.7 MB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.2031, allocations: 308.3 kB / 440 MB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.2042, allocations: 443.6 kB / 440.4 MB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.2273, allocations: 12.5 MB / 452.9 MB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001798/0.2275, allocations: 47.64 kB / 453 MB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008808/0.2284, allocations: 187.9 kB / 453.1 MB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003414/0.2318, allocations: 2.035 MB / 455.2 MB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02186/0.2537, allocations: 10.54 MB / 465.7 MB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2466/0.5003, allocations: 40.77 MB / 0.4946 GB, free: 57.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.512, allocations: 4.38 MB / 0.4989 GB, free: 55.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.5142, allocations: 1.898 MB / 0.5008 GB, free: 54.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.5243, allocations: 5.714 MB / 0.5063 GB, free: 51.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5244, allocations: 62.56 kB / 0.5064 GB, free: 51.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 4.839e-06/0.5244, allocations: 0 / 0.5064 GB, free: 51.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.06431/0.5887, allocations: 20.46 MB / 0.5264 GB, free: 31.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.5887, allocations: 209.9 kB / 0.5266 GB, free: 31.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005552/0.5943, allocations: 4.297 MB / 0.5308 GB, free: 27.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.5945, allocations: 57.7 kB / 0.5308 GB, free: 27.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.5962, allocations: 3.678 MB / 0.5344 GB, free: 23.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006785/0.5969, allocations: 0.874 MB / 0.5353 GB, free: 22.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/0.5988, allocations: 1.346 MB / 0.5366 GB, free: 21.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.5988, allocations: 301.1 kB / 0.5369 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003014/0.6018, allocations: 2.363 MB / 0.5392 GB, free: 18.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/0.606, allocations: 6.213 MB / 0.5453 GB, free: 10.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007801/0.6138, allocations: 9.171 MB / 0.5542 GB, free: 15.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.614, allocations: 43.94 kB / 0.5542 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.0183/0.6323, allocations: 9.522 MB / 0.5635 GB, free: 6.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.6324, allocations: 60 kB / 0.5636 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/0.6326, allocations: 132 kB / 0.5637 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004454/0.6371, allocations: 1.371 MB / 0.5651 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004958/0.6421, allocations: 1.47 MB / 0.5665 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.6555, allocations: 8.227 MB / 0.5745 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004805/0.6603, allocations: 363 kB / 0.5749 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/0.6614, allocations: 387.9 kB / 0.5753 GB, free: 10.04 MB / 462.1 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.004494/0.6659, allocations: 2.495 MB / 0.5777 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009744/0.6668, allocations: 385.4 kB / 0.5781 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009414/0.6763, allocations: 4.075 MB / 0.582 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/0.6763, allocations: 24 kB / 0.5821 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.6763, allocations: 11.94 kB / 0.5821 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.6763, allocations: 7.969 kB / 0.5821 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.6954, allocations: 8.637 MB / 0.5905 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.6954, allocations: 4 kB / 0.5905 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.697, allocations: 331.5 kB / 0.5908 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003996/0.701, allocations: 1.153 MB / 0.592 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.7012, allocations: 43.98 kB / 0.592 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.7122, allocations: 6.937 MB / 0.5988 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.7122, allocations: 15.94 kB / 0.5988 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.7246, allocations: 6.862 MB / 0.6055 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.7257, allocations: 365.2 kB / 0.6058 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007265/0.7264, allocations: 39.98 kB / 0.6059 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.7284, allocations: 115.9 kB / 0.606 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/0.7287, allocations: 144.9 kB / 0.6061 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.7289, allocations: 60.06 kB / 0.6062 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004363/0.7333, allocations: 2.523 MB / 0.6086 GB, free: 7.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7333, allocations: 0 / 0.6086 GB, free: 7.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00524/0.7385, allocations: 1.211 MB / 0.6098 GB, free: 6.34 MB / 494.1 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.0005735/0.7391, allocations: 238.1 kB / 0.6101 GB, free: 6.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009131/0.7482, allocations: 5.525 MB / 0.6155 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.7482, allocations: 0 / 0.6155 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/0.751, allocations: 1.736 MB / 0.6171 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.7538, allocations: 486 kB / 0.6176 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/0.7735, allocations: 11.29 MB / 0.6286 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005304/0.7788, allocations: 3.345 MB / 0.6319 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004628/0.7834, allocations: 1.905 MB / 0.6338 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000852/0.7843, allocations: 252.5 kB / 0.634 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.7843, allocations: 0 / 0.634 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.2559/1.04, allocations: 38.21 MB / 0.6713 GB, free: 178.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.7454134720610455]