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.006508/0.006508, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001687/0.001687, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.474/1.474, allocations: 230.6 MB / 259 MB, free: 8.043 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.001972/0.001972, allocations: 67.83 kB / 379.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 53.36 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006474/0.2693, allocations: 4.616 MB / 437.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.2727, allocations: 1.422 MB / 439.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.2735, allocations: 35.69 kB / 439.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.2741, allocations: 174.2 kB / 439.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.2746, allocations: 170.3 kB / 439.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008612/0.2755, allocations: 387.3 kB / 440 MB, free: 176 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2765, allocations: 0.9821 MB / 440.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005472/0.2771, allocations: 283.5 kB / 441.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.2777, allocations: 346.6 kB / 441.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.2781, allocations: 349.9 kB / 441.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2782, allocations: 72 kB / 442 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.2784, allocations: 116 kB / 442.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.2785, allocations: 175.3 kB / 442.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.2789, allocations: 433.5 kB / 442.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.2802, allocations: 1.11 MB / 443.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2802, allocations: 8 kB / 443.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2802, allocations: 0 / 443.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2802, allocations: 3.938 kB / 443.8 MB, free: 12.3 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.001645/0.2818, allocations: 1.097 MB / 444.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2819, allocations: 12.03 kB / 444.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.2821, allocations: 119.3 kB / 445 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.2831, allocations: 0.5551 MB / 445.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.2832, allocations: 66 kB / 445.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2833, allocations: 83.95 kB / 445.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2846, allocations: 0.8403 MB / 446.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.2847, allocations: 11.94 kB / 446.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.2847, allocations: 32 kB / 446.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.2848, allocations: 20 kB / 446.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/0.2857, allocations: 475.3 kB / 447.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.2897, allocations: 4.326 MB / 451.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.2903, allocations: 292 kB / 451.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.2905, allocations: 129.6 kB / 451.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.2906, allocations: 16.36 kB / 451.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2906, allocations: 38.94 kB / 451.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.983e-06/0.2906, allocations: 0 / 451.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003342/0.294, allocations: 1.6 MB / 453.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.294, allocations: 59.91 kB / 453.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.2947, allocations: 0.547 MB / 454.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2947, allocations: 37.7 kB / 454.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.2951, allocations: 483.8 kB / 454.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.2952, allocations: 226.1 kB / 454.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.2954, allocations: 142.6 kB / 454.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2956, allocations: 382.8 kB / 455.3 MB, free: 284 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.2959, allocations: 153.9 kB / 455.5 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.2965, allocations: 455.2 kB / 455.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.2975, allocations: 0.6673 MB / 456.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2975, allocations: 4 kB / 456.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001233/0.2987, allocations: 0.7426 MB / 457.3 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2987, allocations: 12 kB / 457.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2988, allocations: 8 kB / 457.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.2989, allocations: 44.84 kB / 457.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.2995, allocations: 183.7 kB / 457.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.301, allocations: 1.59 MB / 459.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.3013, allocations: 24 kB / 459.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.3014, allocations: 40 kB / 459.2 MB, free: 11.98 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.0003252/0.3017, allocations: 237.5 kB / 459.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/0.3018, allocations: 75.47 kB / 459.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.3019, allocations: 79.08 kB / 459.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3019, allocations: 7.984 kB / 459.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3019, allocations: 3.938 kB / 459.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.3019, allocations: 0 / 459.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.304, allocations: 1.38 MB / 461 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.304, allocations: 0 / 461 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.3044, allocations: 119.8 kB / 461.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-05/0.3045, allocations: 20.8 kB / 461.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.3045, allocations: 16 kB / 461.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009907/0.3055, allocations: 1.271 MB / 462.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3055, allocations: 4 kB / 462.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3066, allocations: 0.7804 MB / 463.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3067, allocations: 75.44 kB / 463.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.3068, allocations: 16 kB / 463.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.307, allocations: 12 kB / 463.3 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.3071, allocations: 47.86 kB / 463.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.3071, allocations: 16 kB / 463.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000427/0.3075, allocations: 367.1 kB / 463.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3075, allocations: 0 / 463.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.3082, allocations: 136 kB / 463.9 MB, free: 7.066 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.0001469/0.3083, allocations: 122.3 kB / 464 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3093, allocations: 0.5686 MB / 464.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3093, allocations: 0 / 464.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.3097, allocations: 302.5 kB / 464.8 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.3103, allocations: 108 kB / 465 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.3133, allocations: 1.911 MB / 466.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.314, allocations: 0.9652 MB / 467.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3142, allocations: 67.36 kB / 467.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3142, allocations: 0 / 467.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of Templates: time 0.01805/0.3322, allocations: 12.49 MB / 480.4 MB, free: 6.418 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/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-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: 8.264080093009397]