Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001726/0.001726, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002038/0.002038, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 43.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.219, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01442/0.2335, allocations: 11.75 MB / 444.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009786/0.2432, allocations: 4.651 MB / 448.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.2449, allocations: 103.5 kB / 448.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007649/0.2525, allocations: 4.058 MB / 452.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.2576, allocations: 2.187 MB / 455.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.2599, allocations: 1.111 MB / 456.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007504/0.2674, allocations: 6.071 MB / 462.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004522/0.2719, allocations: 4.065 MB / 466.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.2746, allocations: 2.185 MB / 468.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.2784, allocations: 3.089 MB / 471.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007843/0.2792, allocations: 0.4922 MB / 472.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.2818, allocations: 1.529 MB / 473.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002521/0.2843, allocations: 2.645 MB / 476.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.2867, allocations: 2.168 MB / 478.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009685/0.2964, allocations: 9.566 MB / 488 MB, free: 14.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2964, allocations: 4 kB / 488 MB, free: 14.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2964, allocations: 0 / 488 MB, free: 14.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.2965, allocations: 0 / 488 MB, free: 14.83 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.01099/0.3075, allocations: 6.085 MB / 494.1 MB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3075, allocations: 12.03 kB / 494.1 MB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.3187, allocations: 2.568 MB / 496.7 MB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008521/0.3272, allocations: 3.698 MB / 0.4886 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.3275, allocations: 308.3 kB / 0.4889 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008616/0.3283, allocations: 443.6 kB / 0.4893 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.3495, allocations: 12.49 MB / 0.5015 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.3496, allocations: 51.58 kB / 0.5016 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00049/0.3501, allocations: 195.9 kB / 0.5018 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.3533, allocations: 2.035 MB / 0.5038 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02965/0.383, allocations: 10.55 MB / 0.5141 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2704/0.6533, allocations: 40.63 MB / 0.5538 GB, free: 71.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.6651, allocations: 4.237 MB / 0.5579 GB, free: 71.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.6671, allocations: 1.885 MB / 0.5597 GB, free: 70.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.6771, allocations: 5.7 MB / 0.5653 GB, free: 68.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6772, allocations: 54.12 kB / 0.5653 GB, free: 68.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.009e-06/0.6772, allocations: 0 / 0.5653 GB, free: 68.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06362/0.7408, allocations: 19.68 MB / 0.5846 GB, free: 52.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.7409, allocations: 205.9 kB / 0.5848 GB, free: 52.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004247/0.7451, allocations: 4.287 MB / 0.589 GB, free: 48.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002873/0.7454, allocations: 57.7 kB / 0.589 GB, free: 48.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.7467, allocations: 3.683 MB / 0.5926 GB, free: 44.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/0.7472, allocations: 0.8736 MB / 0.5935 GB, free: 44.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.7485, allocations: 1.357 MB / 0.5948 GB, free: 42.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.7486, allocations: 301.1 kB / 0.5951 GB, free: 42.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/0.7513, allocations: 2.363 MB / 0.5974 GB, free: 40.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003818/0.7551, allocations: 6.222 MB / 0.6035 GB, free: 31.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007274/0.7624, allocations: 9.169 MB / 0.6124 GB, free: 20.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.854e-05/0.7624, allocations: 36 kB / 0.6124 GB, free: 20.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01407/0.7765, allocations: 9.526 MB / 0.6217 GB, free: 11.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.7766, allocations: 63.94 kB / 0.6218 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-05/0.7767, allocations: 132.9 kB / 0.6219 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.7805, allocations: 1.374 MB / 0.6233 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/0.7849, allocations: 1.482 MB / 0.6247 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00968/0.7946, allocations: 8.23 MB / 0.6328 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/0.7993, allocations: 351.7 kB / 0.6331 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008616/0.8001, allocations: 392 kB / 0.6335 GB, free: 15.3 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.004193/0.8043, allocations: 2.492 MB / 0.6359 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007696/0.8051, allocations: 393.4 kB / 0.6363 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009001/0.8141, allocations: 4.079 MB / 0.6403 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/0.8142, allocations: 24 kB / 0.6403 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.8142, allocations: 8 kB / 0.6403 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.8142, allocations: 7.969 kB / 0.6403 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/0.8338, allocations: 8.614 MB / 0.6487 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.8338, allocations: 4 kB / 0.6487 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.8354, allocations: 340.1 kB / 0.649 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004156/0.8396, allocations: 1.152 MB / 0.6502 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/0.8398, allocations: 43.98 kB / 0.6502 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.8511, allocations: 6.936 MB / 0.657 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/0.8511, allocations: 16.34 kB / 0.657 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/0.8638, allocations: 6.887 MB / 0.6637 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.8649, allocations: 361.2 kB / 0.6641 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004643/0.8654, allocations: 36 kB / 0.6641 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.867, allocations: 119.4 kB / 0.6642 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.8674, allocations: 156.8 kB / 0.6644 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.8676, allocations: 63.98 kB / 0.6644 GB, free: 15.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003841/0.8714, allocations: 2.511 MB / 0.6669 GB, free: 12.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8714, allocations: 0 / 0.6669 GB, free: 12.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005125/0.8765, allocations: 1.187 MB / 0.668 GB, free: 11.6 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.0005852/0.8771, allocations: 226.7 kB / 0.6683 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009579/0.8867, allocations: 5.535 MB / 0.6737 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.8867, allocations: 1.938 kB / 0.6737 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003051/0.8897, allocations: 1.742 MB / 0.6754 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/0.8927, allocations: 0.4907 MB / 0.6758 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/0.9121, allocations: 11.28 MB / 0.6869 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004996/0.9171, allocations: 3.349 MB / 0.6901 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005164/0.9222, allocations: 1.888 MB / 0.692 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/0.9231, allocations: 259.4 kB / 0.6922 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of SimCode: time 1.954e-06/0.9231, allocations: 0 / 0.6922 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.08865/1.012, allocations: 46.26 MB / 0.7374 GB, free: 4.977 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.721668383994256]