Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 186.8 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.92 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006356/0.2558, allocations: 4.111 MB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.2584, allocations: 1.302 MB / 429.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.2588, allocations: 27.75 kB / 429.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.2592, allocations: 182.2 kB / 429.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.2596, allocations: 170.3 kB / 429.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.2604, allocations: 367.5 kB / 429.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.2615, allocations: 0.9743 MB / 430.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.262, allocations: 271.4 kB / 431.2 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.2624, allocations: 334.6 kB / 431.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.2628, allocations: 309.9 kB / 431.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.2629, allocations: 72 kB / 431.9 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.2631, allocations: 112 kB / 432 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2633, allocations: 179.3 kB / 432.2 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.2636, allocations: 330.1 kB / 432.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2648, allocations: 1.115 MB / 433.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2648, allocations: 0 / 433.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2648, allocations: 4 kB / 433.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.2648, allocations: 0 / 433.6 MB, free: 4.629 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001662/0.2665, allocations: 1.097 MB / 434.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2665, allocations: 12.03 kB / 434.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.2667, allocations: 111.3 kB / 434.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2677, allocations: 0.5395 MB / 435.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.2678, allocations: 58 kB / 435.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.2679, allocations: 91.88 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2693, allocations: 0.8442 MB / 436.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.2693, allocations: 19.89 kB / 436.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.2694, allocations: 39.94 kB / 436.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.2694, allocations: 20 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.2704, allocations: 467.3 kB / 436.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.2744, allocations: 4.089 MB / 441 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.2751, allocations: 279.2 kB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.2753, allocations: 133.5 kB / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.2754, allocations: 12.38 kB / 441.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.2755, allocations: 38.94 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.004e-06/0.2755, allocations: 0 / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003345/0.2788, allocations: 1.6 MB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2789, allocations: 55.91 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.2795, allocations: 0.5508 MB / 443.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.2796, allocations: 37.7 kB / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.2799, allocations: 491.7 kB / 444.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2801, allocations: 230.1 kB / 444.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.2803, allocations: 142.6 kB / 444.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.2805, allocations: 386.7 kB / 444.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.2808, allocations: 157.9 kB / 445.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.2813, allocations: 455.2 kB / 445.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/0.2822, allocations: 0.6634 MB / 446.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2822, allocations: 0 / 446.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001181/0.2834, allocations: 0.7419 MB / 446.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2834, allocations: 12.94 kB / 446.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2834, allocations: 8 kB / 446.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.2836, allocations: 48.84 kB / 447 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.2841, allocations: 183.7 kB / 447.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.2856, allocations: 1.563 MB / 448.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2859, allocations: 28 kB / 448.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.2859, allocations: 36 kB / 448.8 MB, free: 4.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.2863, allocations: 229.5 kB / 449 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2864, allocations: 79.59 kB / 449.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.2865, allocations: 71.08 kB / 449.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2865, allocations: 11.94 kB / 449.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.2865, allocations: 0 / 449.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2865, allocations: 7.922 kB / 449.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.2884, allocations: 1.197 MB / 450.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.2884, allocations: 7.938 kB / 450.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.2889, allocations: 111.8 kB / 450.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.455e-05/0.289, allocations: 28.84 kB / 450.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.289, allocations: 12 kB / 450.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000992/0.29, allocations: 1.25 MB / 451.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.29, allocations: 4.078 kB / 451.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2911, allocations: 0.7841 MB / 452.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2912, allocations: 67.52 kB / 452.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.2912, allocations: 12 kB / 452.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2914, allocations: 12 kB / 452.7 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.2915, allocations: 47.86 kB / 452.7 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.2916, allocations: 24.09 kB / 452.7 MB, free: 424 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004315/0.292, allocations: 359.1 kB / 453.1 MB, free: 72 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.292, allocations: 0 / 453.1 MB, free: 72 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006918/0.2927, allocations: 140 kB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.2929, allocations: 119.2 kB / 453.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.2939, allocations: 0.5608 MB / 453.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2939, allocations: 0 / 453.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.2943, allocations: 302.8 kB / 454.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.295, allocations: 102.5 kB / 454.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.2985, allocations: 1.907 MB / 456.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.299, allocations: 378.3 kB / 456.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.2992, allocations: 63.42 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.2992, allocations: 0 / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01911/0.3183, allocations: 12.77 MB / 469.4 MB, free: 15.62 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.234935751184821]