Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.001277/0.001277, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001397/0.001397, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.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-beta.om/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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2175, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01682/0.2344, allocations: 15.08 MB / 447.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009526/0.2439, allocations: 4.873 MB / 452 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.2452, allocations: 91.75 kB / 452.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00565/0.2508, allocations: 3.216 MB / 455.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005142/0.256, allocations: 2.588 MB / 457.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.2578, allocations: 0.9905 MB / 458.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008726/0.2666, allocations: 7.043 MB / 465.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003922/0.2705, allocations: 3.209 MB / 469.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.2736, allocations: 2.211 MB / 471.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.2785, allocations: 3.513 MB / 474.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.2795, allocations: 487.9 kB / 475.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.2823, allocations: 1.533 MB / 476.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.2852, allocations: 2.917 MB / 479.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003456/0.2886, allocations: 3.223 MB / 483 MB, free: 4.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.3002, allocations: 10.39 MB / 493.4 MB, free: 9.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3002, allocations: 3.938 kB / 493.4 MB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3002, allocations: 0 / 493.4 MB, free: 9.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001752/0.3004, allocations: 0 / 493.4 MB, free: 9.746 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01462/0.315, allocations: 7.428 MB / 0.4891 GB, free: 2.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.315, allocations: 12.03 kB / 0.4891 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.3315, allocations: 3.982 MB / 0.493 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.3416, allocations: 4.131 MB / 0.497 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002756/0.3419, allocations: 320.3 kB / 0.4973 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.3431, allocations: 431.6 kB / 0.4977 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02907/0.3722, allocations: 15.71 MB / 0.5131 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.3724, allocations: 63.5 kB / 0.5131 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006585/0.373, allocations: 203.8 kB / 0.5133 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005387/0.3784, allocations: 3.216 MB / 0.5165 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/0.4066, allocations: 14.13 MB / 0.5303 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2506/0.6572, allocations: 57.59 MB / 0.5865 GB, free: 53.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.6692, allocations: 6.274 MB / 0.5926 GB, free: 48.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.6727, allocations: 3.328 MB / 0.5959 GB, free: 44.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01957/0.6923, allocations: 14.65 MB / 0.6102 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.6923, allocations: 64.55 kB / 0.6103 GB, free: 29.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 6.622e-06/0.6923, allocations: 0 / 0.6103 GB, free: 29.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1422/0.8345, allocations: 42.63 MB / 0.6519 GB, free: 3.656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.8347, allocations: 217.9 kB / 0.6521 GB, free: 3.398 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007574/0.8423, allocations: 5.476 MB / 0.6574 GB, free: 14.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006835/0.8429, allocations: 77.7 kB / 0.6575 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003423/0.8464, allocations: 4.532 MB / 0.6619 GB, free: 9.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/0.8481, allocations: 1.314 MB / 0.6632 GB, free: 8.281 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002936/0.8511, allocations: 1.865 MB / 0.6651 GB, free: 6.402 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8512, allocations: 305.1 kB / 0.6653 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00746/0.8587, allocations: 4.808 MB / 0.67 GB, free: 1.285 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/0.8703, allocations: 9.802 MB / 0.6796 GB, free: 5.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/0.8911, allocations: 15.58 MB / 0.6948 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/0.8912, allocations: 55.94 kB / 0.6949 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04764/0.9388, allocations: 19.55 MB / 0.714 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.9389, allocations: 83.28 kB / 0.714 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/0.9391, allocations: 172 kB / 0.7142 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02501/0.9641, allocations: 5.941 MB / 0.72 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007811/0.972, allocations: 2.109 MB / 0.7221 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2253/1.197, allocations: 26.14 MB / 0.7476 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0067/1.204, allocations: 0.5595 MB / 0.7481 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/1.205, allocations: 0.513 MB / 0.7486 GB, free: 184.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.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 (1098): * Single equations (assignments): 1090 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003997/1.209, allocations: 3.095 MB / 0.7517 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008165/1.209, allocations: 0.5158 MB / 0.7522 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02882/1.238, allocations: 12.9 MB / 0.7648 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/1.238, allocations: 15.28 kB / 0.7648 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.238, allocations: 7.531 kB / 0.7648 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.239, allocations: 0.5488 MB / 0.7653 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009981/1.24, allocations: 47.72 kB / 0.7654 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.243, allocations: 258.5 kB / 0.7656 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005686/1.244, allocations: 209.9 kB / 0.7658 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01912/1.263, allocations: 10.46 MB / 0.776 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01284/1.276, allocations: 12.89 MB / 0.7886 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003247/1.279, allocations: 3.345 MB / 0.7919 GB, free: 161.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003817/1.283, allocations: 3.394 MB / 0.7952 GB, free: 158.5 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/1.283, allocations: 0 / 0.7952 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.295, allocations: 7.489 MB / 0.8025 GB, free: 151.3 MB / 0.545 GB Notification: Performance of SimCode: time 0.01666/1.311, allocations: 13.75 MB / 0.8159 GB, free: 137.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1159/1.427, allocations: 91.62 MB / 0.9054 GB, free: 46.12 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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: 7.557757661212236]