Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 69.72 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 55.11 kB / 325.6 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09271, allocations: 53.33 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01617/0.1089, allocations: 13.75 MB / 392.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1189, allocations: 4.949 MB / 397.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.1205, allocations: 135.3 kB / 397.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008104/0.1287, allocations: 4.318 MB / 402.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006126/0.1348, allocations: 2.583 MB / 404.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.1371, allocations: 1.154 MB / 405.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.1479, allocations: 8.12 MB / 413.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005161/0.153, allocations: 4.267 MB / 418.2 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003784/0.1568, allocations: 2.496 MB / 420.7 MB, free: 5.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005205/0.162, allocations: 3.415 MB / 424.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.1631, allocations: 0.5039 MB / 424.6 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.1658, allocations: 1.393 MB / 426 MB, free: 500 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.1688, allocations: 3.023 MB / 429 MB, free: 13.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.1719, allocations: 2.509 MB / 431.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.1833, allocations: 10.4 MB / 441.9 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1833, allocations: 0 / 441.9 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1833, allocations: 0 / 441.9 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001957/0.1835, allocations: 0 / 441.9 MB, free: 0.4922 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.01761/0.2011, allocations: 7.75 MB / 449.7 MB, free: 8.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2012, allocations: 12.03 kB / 449.7 MB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.2169, allocations: 3.452 MB / 453.1 MB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.2277, allocations: 4.689 MB / 457.8 MB, free: 424 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.228, allocations: 341.1 kB / 458.2 MB, free: 80 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.229, allocations: 467.6 kB / 458.6 MB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.2543, allocations: 14.65 MB / 473.3 MB, free: 24 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.1721/0.4264, allocations: 70.34 kB / 473.3 MB, free: 78.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001806/0.4282, allocations: 211.1 kB / 473.5 MB, free: 78.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005668/0.4339, allocations: 2.841 MB / 476.4 MB, free: 78.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/0.4572, allocations: 13.17 MB / 489.5 MB, free: 74.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05003/0.5073, allocations: 54.07 MB / 0.5309 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/0.5223, allocations: 7.103 MB / 0.5378 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/0.5265, allocations: 4.597 MB / 0.5423 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.5416, allocations: 11.49 MB / 0.5535 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.5416, allocations: 64.7 kB / 0.5536 GB, free: 13.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 6.172e-06/0.5416, allocations: 3.75 kB / 0.5536 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.127/2.669, allocations: 413.7 MB / 0.9576 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/2.669, allocations: 265.6 kB / 0.9578 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005307/2.674, allocations: 4.967 MB / 0.9627 GB, free: 95.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001343/2.676, allocations: 117.3 kB / 0.9628 GB, free: 95.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/2.677, allocations: 4.113 MB / 0.9668 GB, free: 92.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001748/2.679, allocations: 2.102 MB / 0.9688 GB, free: 90.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003424/2.682, allocations: 2.195 MB / 0.971 GB, free: 88.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.328e-05/2.682, allocations: 309.1 kB / 0.9713 GB, free: 88.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01114/2.693, allocations: 11.06 MB / 0.9821 GB, free: 77.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01278/2.706, allocations: 15.31 MB / 0.997 GB, free: 59.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.027/2.733, allocations: 27.45 MB / 1.024 GB, free: 30.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.992e-05/2.733, allocations: 40 kB / 1.024 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5148/3.248, allocations: 140.8 MB / 1.161 GB, free: 104 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/3.248, allocations: 67.81 kB / 1.161 GB, free: 103.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/3.248, allocations: 140 kB / 1.162 GB, free: 103.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07767/3.326, allocations: 34.68 MB / 1.195 GB, free: 69.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/3.33, allocations: 1.577 MB / 1.197 GB, free: 67.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4306/3.761, allocations: 200.9 MB / 1.393 GB, free: 72.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/3.774, allocations: 1.724 MB / 1.395 GB, free: 70.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/3.775, allocations: 0.5388 MB / 1.395 GB, free: 70.26 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[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 (840): * Single equations (assignments): 833 * 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): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.004601/3.78, allocations: 3.091 MB / 1.398 GB, free: 67.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001471/3.781, allocations: 0.5439 MB / 1.399 GB, free: 67.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5091/4.29, allocations: 136.4 MB / 1.532 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.895e-05/4.29, allocations: 56 kB / 1.532 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/4.291, allocations: 60 kB / 1.532 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/4.291, allocations: 27.89 kB / 1.532 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6448/4.935, allocations: 201.6 MB / 1.729 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/4.935, allocations: 11.44 kB / 1.729 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/4.937, allocations: 336.6 kB / 1.729 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06902/5.006, allocations: 33.41 MB / 1.762 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00121/5.007, allocations: 99.98 kB / 1.762 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4288/5.436, allocations: 183.7 MB / 1.942 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/5.436, allocations: 11.25 kB / 1.942 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5397/5.976, allocations: 152.2 MB / 2.09 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/5.977, allocations: 0.5135 MB / 2.091 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/5.979, allocations: 101.3 kB / 2.091 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/5.99, allocations: 1.485 MB / 2.092 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003785/5.993, allocations: 0.5203 MB / 2.093 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009429/5.994, allocations: 147.5 kB / 2.093 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004173/5.999, allocations: 2.957 MB / 2.096 GB, free: 161 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/5.999, allocations: 1.344 kB / 2.096 GB, free: 161 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01375/6.012, allocations: 3.825 MB / 2.1 GB, free: 161 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (165): * Single equations (assignments): 158 * 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): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/6.014, allocations: 250.9 kB / 2.1 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.05311/6.067, allocations: 32.75 MB / 2.132 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/6.067, allocations: 6.875 kB / 2.132 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03878/6.106, allocations: 19.59 MB / 2.151 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007401/6.113, allocations: 0.6832 MB / 2.152 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03637/6.15, allocations: 27.4 MB / 2.178 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005449/6.155, allocations: 4.613 MB / 2.183 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003918/6.159, allocations: 1.983 MB / 2.185 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/6.16, allocations: 283.8 kB / 2.185 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/6.16, allocations: 0 / 2.185 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.4736/6.633, allocations: 280 MB / 2.458 GB, free: 33.12 MB / 0.5606 GB " [Timeout remaining time 653] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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: 15.731100640026852]