Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001887/0.001887, 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.001569/0.001569, 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.409/1.409, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 43.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2211, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005849/0.227, allocations: 4.113 MB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.2292, allocations: 1.364 MB / 437.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.2295, allocations: 35.69 kB / 437.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.2298, allocations: 178.2 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.2302, allocations: 170.3 kB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007107/0.2309, allocations: 383.4 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.2319, allocations: 0.9743 MB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.2323, allocations: 287.2 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.2328, allocations: 354.5 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.2331, allocations: 346 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.2332, allocations: 72 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.2334, allocations: 116 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.2336, allocations: 175.3 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.2339, allocations: 334.1 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.235, allocations: 1.115 MB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.235, allocations: 4 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.235, allocations: 0 / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.235, allocations: 4 kB / 442.3 MB, free: 12.71 MB / 350.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.001633/0.2367, allocations: 1.097 MB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2367, allocations: 12.03 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.237, allocations: 119.3 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.238, allocations: 0.5512 MB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.238, allocations: 62 kB / 444.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.2381, allocations: 83.95 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.2395, allocations: 0.8481 MB / 445.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.2396, allocations: 15.86 kB / 445.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.2396, allocations: 32 kB / 445.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.2397, allocations: 23.94 kB / 445.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.2406, allocations: 467.3 kB / 445.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.2443, allocations: 4.092 MB / 449.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.2449, allocations: 289.4 kB / 450 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.2452, allocations: 129.6 kB / 450.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.903e-05/0.2453, allocations: 16.36 kB / 450.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2453, allocations: 38.94 kB / 450.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.723e-06/0.2453, allocations: 0 / 450.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003325/0.2486, allocations: 1.596 MB / 451.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2487, allocations: 59.91 kB / 451.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.2493, allocations: 0.5547 MB / 452.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.2493, allocations: 37.7 kB / 452.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.2497, allocations: 495.7 kB / 452.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.2499, allocations: 218.2 kB / 453.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.2501, allocations: 138.6 kB / 453.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.2503, allocations: 386.7 kB / 453.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.2506, allocations: 153.9 kB / 453.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.2511, allocations: 459.2 kB / 454.2 MB, free: 196 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.252, allocations: 0.6673 MB / 454.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.252, allocations: 4 kB / 454.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001233/0.2533, allocations: 0.7386 MB / 455.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2533, allocations: 16.22 kB / 455.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2533, allocations: 8 kB / 455.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.2535, allocations: 48.84 kB / 455.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.2541, allocations: 183.7 kB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.2556, allocations: 1.547 MB / 457.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.2558, allocations: 27.98 kB / 457.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.2559, allocations: 40 kB / 457.5 MB, free: 12.67 MB / 366.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.0002955/0.2562, allocations: 232.6 kB / 457.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2563, allocations: 75.53 kB / 457.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.2564, allocations: 75.08 kB / 457.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.2565, allocations: 11.94 kB / 457.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2565, allocations: 4.125 kB / 457.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.2565, allocations: 3.984 kB / 457.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.2584, allocations: 1.19 MB / 459 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.2584, allocations: 7.938 kB / 459.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.2589, allocations: 115.8 kB / 459.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-05/0.259, allocations: 24.84 kB / 459.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.259, allocations: 15.94 kB / 459.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009871/0.26, allocations: 1.245 MB / 460.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.26, allocations: 4 kB / 460.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2612, allocations: 0.7841 MB / 461.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.2613, allocations: 59.53 kB / 461.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.2613, allocations: 20.16 kB / 461.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.2615, allocations: 12 kB / 461.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.2616, allocations: 43.86 kB / 461.4 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.2617, allocations: 20 kB / 461.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004112/0.2621, allocations: 367.1 kB / 461.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2621, allocations: 0 / 461.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000611/0.2627, allocations: 136 kB / 461.9 MB, free: 8.012 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.0001388/0.2628, allocations: 119.2 kB / 462 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009635/0.2638, allocations: 0.5647 MB / 462.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2638, allocations: 8.125 kB / 462.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.2642, allocations: 302.5 kB / 462.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.2648, allocations: 109.8 kB / 463 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.2676, allocations: 1.874 MB / 464.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.268, allocations: 378.3 kB / 465.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.2683, allocations: 86.02 kB / 465.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2684, allocations: 59.42 kB / 465.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2684, allocations: 0 / 465.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.2816, allocations: 6.348 MB / 471.7 MB, free: 14.16 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.454198606006685]