Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.00168/0.00168, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.001948/0.001948, allocations: 158.5 kB / 24.5 MB, free: 3.719 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.46/1.46, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 66.66 kB / 325.5 MB, free: 392 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1078, allocations: 53.38 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01506/0.1229, allocations: 11.75 MB / 390.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1336, allocations: 4.655 MB / 395.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.1357, allocations: 103.5 kB / 395.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008455/0.1442, allocations: 4.058 MB / 399.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.1503, allocations: 2.179 MB / 401.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.1533, allocations: 1.111 MB / 402.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009623/0.1629, allocations: 6.072 MB / 408.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006013/0.1689, allocations: 4.038 MB / 412.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.173, allocations: 2.189 MB / 415.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005046/0.178, allocations: 2.885 MB / 418 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.1795, allocations: 0.4922 MB / 418.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.1832, allocations: 1.51 MB / 420 MB, free: 6.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003917/0.1871, allocations: 2.649 MB / 422.6 MB, free: 3.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005172/0.1923, allocations: 2.164 MB / 424.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.2048, allocations: 9.562 MB / 434.3 MB, free: 7.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2048, allocations: 0 / 434.3 MB, free: 7.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2048, allocations: 4 kB / 434.3 MB, free: 7.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000283/0.2051, allocations: 0 / 434.3 MB, free: 7.945 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.01656/0.2217, allocations: 6.089 MB / 440.4 MB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2217, allocations: 15.98 kB / 440.4 MB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.2343, allocations: 2.692 MB / 443.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009493/0.2438, allocations: 3.702 MB / 446.8 MB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.2442, allocations: 312.3 kB / 447.1 MB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.2461, allocations: 439.7 kB / 447.6 MB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.2737, allocations: 12.5 MB / 460.1 MB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002456/0.274, allocations: 59.52 kB / 460.1 MB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001292/0.2753, allocations: 191.9 kB / 460.3 MB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003551/0.2788, allocations: 2.031 MB / 462.3 MB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/0.3027, allocations: 10.55 MB / 472.9 MB, free: 480 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.247/0.5497, allocations: 40.76 MB / 0.5016 GB, free: 48.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.5624, allocations: 4.404 MB / 0.5059 GB, free: 46.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/0.5655, allocations: 1.878 MB / 0.5078 GB, free: 45.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.576, allocations: 5.725 MB / 0.5134 GB, free: 39.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.576, allocations: 51.56 kB / 0.5134 GB, free: 39.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 5.2e-06/0.576, allocations: 0 / 0.5134 GB, free: 39.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.0651/0.6411, allocations: 20.38 MB / 0.5333 GB, free: 19.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.6412, allocations: 201.9 kB / 0.5335 GB, free: 19.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006334/0.6475, allocations: 4.287 MB / 0.5377 GB, free: 15.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004733/0.648, allocations: 61.7 kB / 0.5377 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.6499, allocations: 3.669 MB / 0.5413 GB, free: 11.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009894/0.6509, allocations: 0.8846 MB / 0.5422 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002633/0.6535, allocations: 1.342 MB / 0.5435 GB, free: 9.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.6536, allocations: 301.1 kB / 0.5438 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/0.6569, allocations: 2.379 MB / 0.5461 GB, free: 6.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005262/0.6622, allocations: 6.209 MB / 0.5522 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/0.6749, allocations: 9.173 MB / 0.5611 GB, free: 3.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001537/0.675, allocations: 40 kB / 0.5612 GB, free: 3.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02138/0.6964, allocations: 9.531 MB / 0.5705 GB, free: 9.805 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.6966, allocations: 63.12 kB / 0.5705 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002837/0.6969, allocations: 136 kB / 0.5707 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/0.7017, allocations: 1.367 MB / 0.572 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/0.7071, allocations: 1.474 MB / 0.5734 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.7218, allocations: 8.228 MB / 0.5815 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005749/0.7275, allocations: 362 kB / 0.5818 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/0.7289, allocations: 388 kB / 0.5822 GB, free: 13.73 MB / 478.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.005641/0.7345, allocations: 2.498 MB / 0.5846 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/0.7357, allocations: 385.4 kB / 0.585 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.746, allocations: 4.076 MB / 0.589 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-05/0.7461, allocations: 26.19 kB / 0.589 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.223e-05/0.7461, allocations: 4 kB / 0.589 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-05/0.7461, allocations: 15.97 kB / 0.589 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/0.7688, allocations: 8.639 MB / 0.5975 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.7688, allocations: 4 kB / 0.5975 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.7705, allocations: 331.5 kB / 0.5978 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004088/0.7746, allocations: 1.144 MB / 0.5989 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003487/0.7749, allocations: 43.98 kB / 0.5989 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/0.7865, allocations: 6.93 MB / 0.6057 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.7866, allocations: 11.94 kB / 0.6057 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.8001, allocations: 6.885 MB / 0.6124 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.8013, allocations: 357.3 kB / 0.6128 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009577/0.8023, allocations: 47.92 kB / 0.6128 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/0.8045, allocations: 119.9 kB / 0.6129 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/0.805, allocations: 152.9 kB / 0.6131 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/0.8052, allocations: 63.98 kB / 0.6131 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005091/0.8103, allocations: 2.507 MB / 0.6156 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8103, allocations: 4 kB / 0.6156 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006087/0.8164, allocations: 1.199 MB / 0.6168 GB, free: 10.01 MB / 0.4981 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 (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.0007619/0.8171, allocations: 222.7 kB / 0.617 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01012/0.8273, allocations: 5.534 MB / 0.6224 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.8273, allocations: 2.906 kB / 0.6224 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003195/0.8305, allocations: 1.746 MB / 0.6241 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/0.8342, allocations: 499.1 kB / 0.6246 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/0.8563, allocations: 11.28 MB / 0.6356 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006275/0.8626, allocations: 3.341 MB / 0.6388 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004973/0.8675, allocations: 1.896 MB / 0.6407 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/0.8688, allocations: 256.5 kB / 0.6409 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of SimCode: time 2.344e-06/0.8688, allocations: 3.938 kB / 0.6409 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of Templates: time 0.3055/1.174, allocations: 38.06 MB / 0.6781 GB, free: 187.1 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.95536888402421]