Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001562/0.001562, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.00192/0.00192, allocations: 220 kB / 23 MB, free: 5.609 MB / 14.72 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 1.436/1.436, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.88 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2608, allocations: 53.32 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.0172/0.278, allocations: 15.06 MB / 444.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2888, allocations: 4.869 MB / 449.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.2912, allocations: 91.75 kB / 449.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006781/0.298, allocations: 3.216 MB / 453 MB, free: 240 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007097/0.3051, allocations: 2.595 MB / 455.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.3077, allocations: 0.9905 MB / 456.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.3183, allocations: 7.037 MB / 463.7 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005584/0.3239, allocations: 3.213 MB / 466.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/0.3283, allocations: 2.215 MB / 469.1 MB, free: 92 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005879/0.3342, allocations: 3.517 MB / 472.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001875/0.3361, allocations: 484 kB / 473.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004057/0.3402, allocations: 1.525 MB / 474.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005213/0.3454, allocations: 2.925 MB / 477.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00916/0.3545, allocations: 3.223 MB / 480.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.3725, allocations: 10.39 MB / 491.1 MB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3725, allocations: 0 / 491.1 MB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3726, allocations: 3.938 kB / 491.1 MB, free: 9.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004279/0.373, allocations: 0 / 491.1 MB, free: 9.949 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.01889/0.3919, allocations: 7.436 MB / 498.6 MB, free: 2.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3919, allocations: 8.031 kB / 498.6 MB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.4084, allocations: 3.974 MB / 0.4908 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.4192, allocations: 4.127 MB / 0.4948 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.4196, allocations: 316.4 kB / 0.4951 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/0.4225, allocations: 443.5 kB / 0.4955 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03137/0.4539, allocations: 15.71 MB / 0.5109 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/0.4541, allocations: 67.45 kB / 0.5109 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001512/0.4556, allocations: 203.8 kB / 0.5111 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005471/0.4611, allocations: 3.216 MB / 0.5143 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02903/0.4901, allocations: 14.13 MB / 0.5281 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3021/0.7922, allocations: 57.58 MB / 0.5843 GB, free: 54.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.8045, allocations: 6.279 MB / 0.5904 GB, free: 48.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004112/0.8086, allocations: 3.321 MB / 0.5937 GB, free: 45.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0189/0.8275, allocations: 14.65 MB / 0.608 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.8276, allocations: 64.56 kB / 0.6081 GB, free: 30.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 7.644e-06/0.8276, allocations: 4 kB / 0.6081 GB, free: 30.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1394/0.967, allocations: 42.62 MB / 0.6497 GB, free: 3.941 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.9672, allocations: 217.9 kB / 0.6499 GB, free: 3.684 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/0.9787, allocations: 5.485 MB / 0.6552 GB, free: 14.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009945/0.9797, allocations: 77.69 kB / 0.6553 GB, free: 14.24 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004133/0.9838, allocations: 4.529 MB / 0.6597 GB, free: 9.887 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002097/0.9859, allocations: 1.314 MB / 0.661 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005216/0.9911, allocations: 1.869 MB / 0.6629 GB, free: 6.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9913, allocations: 305.1 kB / 0.6631 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008357/0.9996, allocations: 4.808 MB / 0.6678 GB, free: 1.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/1.013, allocations: 9.806 MB / 0.6774 GB, free: 5.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02158/1.035, allocations: 15.57 MB / 0.6926 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001583/1.035, allocations: 48 kB / 0.6927 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04939/1.084, allocations: 19.56 MB / 0.7118 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/1.084, allocations: 80 kB / 0.7118 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003349/1.085, allocations: 172 kB / 0.712 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02306/1.108, allocations: 5.937 MB / 0.7178 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008142/1.116, allocations: 2.109 MB / 0.7199 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3056/1.421, allocations: 26.14 MB / 0.7454 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008577/1.43, allocations: 0.557 MB / 0.7459 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/1.432, allocations: 0.5122 MB / 0.7464 GB, free: 185 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.00642/1.438, allocations: 3.107 MB / 0.7495 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.44, allocations: 0.5182 MB / 0.75 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02719/1.467, allocations: 12.9 MB / 0.7626 GB, free: 180.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-05/1.467, allocations: 58.81 kB / 0.7626 GB, free: 180.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/1.467, allocations: 11.38 kB / 0.7626 GB, free: 180.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-05/1.467, allocations: 17.11 kB / 0.7627 GB, free: 180.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04704/1.514, allocations: 24.47 MB / 0.7866 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/1.514, allocations: 8 kB / 0.7866 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/1.517, allocations: 0.5726 MB / 0.7871 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01671/1.534, allocations: 4.969 MB / 0.792 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007647/1.535, allocations: 58.73 kB / 0.792 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/1.557, allocations: 21.36 MB / 0.8129 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.557, allocations: 8 kB / 0.8129 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03016/1.587, allocations: 17.45 MB / 0.8299 GB, free: 120.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/1.588, allocations: 0.5573 MB / 0.8305 GB, free: 119.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/1.59, allocations: 55.94 kB / 0.8305 GB, free: 119.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/1.594, allocations: 267.5 kB / 0.8308 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/1.595, allocations: 197.5 kB / 0.831 GB, free: 119.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002851/1.595, allocations: 87.19 kB / 0.8311 GB, free: 119.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004602/1.6, allocations: 3.398 MB / 0.8344 GB, free: 116 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.6, allocations: 0 / 0.8344 GB, free: 116 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008327/1.608, allocations: 1.733 MB / 0.8361 GB, free: 114.3 MB / 0.545 GB 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 (254): * Single equations (assignments): 246 * 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,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007785/1.609, allocations: 209.2 kB / 0.8363 GB, free: 114.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01457/1.624, allocations: 10.5 MB / 0.8465 GB, free: 103.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.624, allocations: 4 kB / 0.8465 GB, free: 103.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005074/1.629, allocations: 3.783 MB / 0.8502 GB, free: 99.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/1.633, allocations: 0.6239 MB / 0.8508 GB, free: 99.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.658, allocations: 16.36 MB / 0.8668 GB, free: 82.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/1.663, allocations: 4.622 MB / 0.8713 GB, free: 78.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005978/1.669, allocations: 2.963 MB / 0.8742 GB, free: 75.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.67, allocations: 351.4 kB / 0.8746 GB, free: 74.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.624e-06/1.67, allocations: 0 / 0.8746 GB, free: 74.84 MB / 0.545 GB Notification: Performance of Templates: time 0.3536/2.024, allocations: 76.5 MB / 0.9493 GB, free: 180.2 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.384642845019698]