Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001001/0.001001, allocations: 79.75 kB / 22.45 MB, free: 2.098 MB / 18.57 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.001198/0.001198, allocations: 168 kB / 25.75 MB, free: 8.953 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.952/0.952, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.375e-05, allocations: 2.312 kB / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004754/0.004788, allocations: 4.356 MB / 255.5 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.006925, allocations: 1.357 MB / 256.8 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.007295, allocations: 35.69 kB / 256.8 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.007618, allocations: 178.2 kB / 257 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.007889, allocations: 178.1 kB / 257.2 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.008574, allocations: 375.3 kB / 257.6 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00084/0.009414, allocations: 1.001 MB / 258.6 MB, free: 316 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.009788, allocations: 267.4 kB / 258.8 MB, free: 28 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.0103, allocations: 0.4949 MB / 259.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.01055, allocations: 239.1 kB / 259.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.01062, allocations: 72 kB / 259.6 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.01078, allocations: 111.9 kB / 259.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.01087, allocations: 179.3 kB / 259.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.01105, allocations: 263.2 kB / 260.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.01172, allocations: 0.6767 MB / 260.8 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01172, allocations: 0 / 260.8 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01173, allocations: 0 / 260.8 MB, free: 14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.01174, allocations: 0 / 260.8 MB, free: 14 MB / 250.7 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.001173/0.01291, allocations: 1.193 MB / 262 MB, free: 12.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.01296, allocations: 12.03 kB / 262 MB, free: 12.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.01314, allocations: 175.2 kB / 262.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.01384, allocations: 0.5931 MB / 262.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.01388, allocations: 66 kB / 262.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.01396, allocations: 87.88 kB / 263 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.01479, allocations: 0.815 MB / 263.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.01482, allocations: 11.92 kB / 263.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.01486, allocations: 39.94 kB / 263.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.01488, allocations: 20 kB / 263.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.01536, allocations: 331.3 kB / 264.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.01816, allocations: 5.584 MB / 269.8 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.01852, allocations: 216.7 kB / 270 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.01864, allocations: 84.39 kB / 270 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.01877, allocations: 24.36 kB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.0188, allocations: 33.77 kB / 270.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 3.106e-06/0.0188, allocations: 4 kB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.002204/0.021, allocations: 1.369 MB / 271.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.02104, allocations: 55.91 kB / 271.5 MB, free: 2.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.02146, allocations: 0.5658 MB / 272.1 MB, free: 2.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.02148, allocations: 33.7 kB / 272.1 MB, free: 2.148 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.02173, allocations: 0.5258 MB / 272.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.02185, allocations: 218.1 kB / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.02199, allocations: 144.3 kB / 273 MB, free: 1.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.02218, allocations: 0.5547 MB / 273.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.02232, allocations: 89.94 kB / 273.7 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.02265, allocations: 0.4969 MB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.02317, allocations: 0.662 MB / 274.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.02317, allocations: 4 kB / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006902/0.02386, allocations: 0.6415 MB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.02388, allocations: 12.06 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.02389, allocations: 8 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.02406, allocations: 51.61 kB / 275.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.02441, allocations: 183.7 kB / 275.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.02559, allocations: 2.079 MB / 277.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.02576, allocations: 35.95 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.02579, allocations: 36 kB / 277.9 MB, free: 11.9 MB / 266.7 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.000166/0.02596, allocations: 208.3 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.02603, allocations: 99.48 kB / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.0261, allocations: 71.08 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02611, allocations: 7.938 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.02611, allocations: 4 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.02612, allocations: 7.922 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.02728, allocations: 1.153 MB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.02729, allocations: 0 / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.02757, allocations: 115.8 kB / 279.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-05/0.02764, allocations: 24.02 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.02767, allocations: 23.94 kB / 279.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006909/0.02836, allocations: 1.728 MB / 281.3 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.02836, allocations: 7.938 kB / 281.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.02896, allocations: 0.7129 MB / 282 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.02901, allocations: 63.52 kB / 282.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.02904, allocations: 16 kB / 282.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.02915, allocations: 12 kB / 282.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.02922, allocations: 47.8 kB / 282.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.02924, allocations: 20 kB / 282.2 MB, free: 7.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.02948, allocations: 355 kB / 282.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02948, allocations: 0 / 282.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004158/0.02989, allocations: 144 kB / 282.7 MB, free: 6.805 MB / 266.7 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.0001139/0.03001, allocations: 115.2 kB / 282.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.03061, allocations: 0.5404 MB / 283.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.03061, allocations: 0 / 283.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.03085, allocations: 326.2 kB / 283.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.03127, allocations: 104 kB / 283.7 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.03323, allocations: 1.643 MB / 285.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.03335, allocations: 163.1 kB / 285.5 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.03352, allocations: 81.94 kB / 285.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.03361, allocations: 64.42 kB / 285.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of SimCode: time 1.283e-06/0.03361, allocations: 0 / 285.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of Templates: time 0.009384/0.04299, allocations: 5.281 MB / 290.9 MB, free: 14.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8417101209051907]