Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.00151/0.00151, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001667/0.001667, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 63.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2392, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006142/0.2454, allocations: 4.633 MB / 436.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.2481, allocations: 1.411 MB / 438.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.2485, allocations: 27.81 kB / 438.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.2489, allocations: 178.2 kB / 438.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.2493, allocations: 166.3 kB / 438.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008074/0.2501, allocations: 391.2 kB / 438.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.2513, allocations: 0.982 MB / 439.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.2518, allocations: 287 kB / 440.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.2523, allocations: 334.6 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.2527, allocations: 349.9 kB / 440.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2528, allocations: 72 kB / 440.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.253, allocations: 123.9 kB / 440.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.2532, allocations: 167.3 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.2535, allocations: 429.5 kB / 441.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.2547, allocations: 1.114 MB / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2548, allocations: 4 kB / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2548, allocations: 0 / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.2548, allocations: 0 / 442.6 MB, free: 12.73 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.001775/0.2565, allocations: 1.18 MB / 443.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2566, allocations: 8.031 kB / 443.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.2568, allocations: 119.3 kB / 443.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.2579, allocations: 0.6272 MB / 444.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.258, allocations: 66 kB / 444.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.2581, allocations: 91.88 kB / 444.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.2595, allocations: 0.8403 MB / 445.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.2595, allocations: 7.938 kB / 445.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.2596, allocations: 36 kB / 445.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.2596, allocations: 20 kB / 445.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/0.2605, allocations: 475.3 kB / 446.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.2646, allocations: 4.381 MB / 450.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.2652, allocations: 291.8 kB / 450.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.2655, allocations: 133.6 kB / 450.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.2657, allocations: 166.6 kB / 451.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.2657, allocations: 38.94 kB / 451.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.565e-06/0.2657, allocations: 0 / 451.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003482/0.2692, allocations: 1.747 MB / 452.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2692, allocations: 63.91 kB / 452.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.2699, allocations: 0.5431 MB / 453.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.2699, allocations: 33.7 kB / 453.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.2703, allocations: 499.6 kB / 454 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.2705, allocations: 226.1 kB / 454.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.2707, allocations: 138.6 kB / 454.3 MB, free: 464 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.2709, allocations: 374.8 kB / 454.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.2712, allocations: 165.9 kB / 454.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.2717, allocations: 459.2 kB / 455.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.2726, allocations: 0.6634 MB / 456 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2726, allocations: 4 kB / 456 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001215/0.2739, allocations: 0.7387 MB / 456.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2739, allocations: 12 kB / 456.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.2739, allocations: 8 kB / 456.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.2741, allocations: 44.84 kB / 456.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.2747, allocations: 187.7 kB / 456.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.2762, allocations: 1.689 MB / 458.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.2766, allocations: 24 kB / 458.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.2766, allocations: 43.98 kB / 458.7 MB, free: 11.64 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.0003482/0.277, allocations: 236.8 kB / 458.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2771, allocations: 75.47 kB / 459 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.2772, allocations: 83 kB / 459.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2772, allocations: 4 kB / 459.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2772, allocations: 0 / 459.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2772, allocations: 0 / 459.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.2793, allocations: 1.418 MB / 460.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.2793, allocations: 4 kB / 460.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.2798, allocations: 115.8 kB / 460.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.682e-05/0.2799, allocations: 24.84 kB / 460.7 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2799, allocations: 16 kB / 460.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.281, allocations: 1.376 MB / 462 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.281, allocations: 3.984 kB / 462 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2821, allocations: 0.7818 MB / 462.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.2823, allocations: 140.6 kB / 463 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.2823, allocations: 15.98 kB / 463 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2826, allocations: 16.09 kB / 463 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.2826, allocations: 47.83 kB / 463 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.2827, allocations: 20 kB / 463.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004407/0.2831, allocations: 363.1 kB / 463.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2831, allocations: 0 / 463.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006697/0.2838, allocations: 140 kB / 463.6 MB, free: 6.457 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.0001573/0.2839, allocations: 119.1 kB / 463.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.2849, allocations: 0.5767 MB / 464.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.285, allocations: 192 / 464.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.2854, allocations: 294.4 kB / 464.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.286, allocations: 98.39 kB / 464.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.289, allocations: 1.916 MB / 466.5 MB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.2896, allocations: 0.9652 MB / 467.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.2898, allocations: 63.42 kB / 467.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2898, allocations: 3.938 kB / 467.6 MB, free: 2.301 MB / 366.1 MB Notification: Performance of Templates: time 0.01797/0.3077, allocations: 12.49 MB / 480.1 MB, free: 5.805 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.901450380217284]