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.001082/0.001082, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001239/0.001239, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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.031/1.031, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 274.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.829e-05, allocations: 5.266 kB / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004802/0.00483, allocations: 4.305 MB / 278.5 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.007471, allocations: 1.382 MB / 279.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.007925, allocations: 31.69 kB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.008209, allocations: 182.2 kB / 280.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.008534, allocations: 186.1 kB / 280.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.009251, allocations: 379.3 kB / 280.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008527/0.0101, allocations: 0.9974 MB / 281.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.01051, allocations: 271.4 kB / 281.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.01107, allocations: 0.5028 MB / 282.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.01133, allocations: 243.1 kB / 282.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.01142, allocations: 76 kB / 282.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.01164, allocations: 115.9 kB / 282.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.01175, allocations: 179.3 kB / 283 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.01193, allocations: 259.2 kB / 283.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.01263, allocations: 0.6923 MB / 283.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01264, allocations: 0 / 283.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01264, allocations: 0 / 283.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.01265, allocations: 0 / 283.9 MB, free: 10.65 MB / 266.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.001214/0.01386, allocations: 1.2 MB / 285.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.01391, allocations: 11.98 kB / 285.1 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.01418, allocations: 183.3 kB / 285.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.01484, allocations: 0.6087 MB / 285.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.01488, allocations: 61.94 kB / 286 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.01496, allocations: 87.91 kB / 286.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.01573, allocations: 0.7719 MB / 286.9 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.01576, allocations: 11.89 kB / 286.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.0158, allocations: 39.94 kB / 286.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.01582, allocations: 20 kB / 286.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.01618, allocations: 281.3 kB / 287.2 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.01929, allocations: 5.487 MB / 292.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.01963, allocations: 196.6 kB / 292.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.01972, allocations: 72.39 kB / 292.9 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.01981, allocations: 28.36 kB / 293 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.01984, allocations: 37.77 kB / 293 MB, free: 1.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.175e-06/0.01985, allocations: 0 / 293 MB, free: 1.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001875/0.02172, allocations: 1.172 MB / 294.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.02176, allocations: 59.91 kB / 294.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.02212, allocations: 0.5615 MB / 294.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.02214, allocations: 33.7 kB / 294.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.0224, allocations: 0.5452 MB / 295.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.02252, allocations: 218.1 kB / 295.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.02264, allocations: 144.2 kB / 295.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.02282, allocations: 0.5585 MB / 296.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.02291, allocations: 69.92 kB / 296.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.02321, allocations: 492.8 kB / 296.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.02366, allocations: 0.6267 MB / 297.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02366, allocations: 3.938 kB / 297.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006053/0.02427, allocations: 0.6057 MB / 298.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.02429, allocations: 8 kB / 298.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.0243, allocations: 8 kB / 298.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.02444, allocations: 48.36 kB / 298.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.02477, allocations: 191.7 kB / 298.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.02584, allocations: 2.048 MB / 300.4 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02602, allocations: 31.98 kB / 300.4 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.02604, allocations: 28 kB / 300.4 MB, free: 9.059 MB / 282.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.0001726/0.02622, allocations: 212.2 kB / 300.6 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.0263, allocations: 95.56 kB / 300.7 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.02637, allocations: 79 kB / 300.8 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.02638, allocations: 8.188 kB / 300.8 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.02639, allocations: 4 kB / 300.8 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02639, allocations: 0 / 300.8 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.02745, allocations: 1.031 MB / 301.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.02746, allocations: 4 kB / 301.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.02773, allocations: 115.8 kB / 302 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.938e-05/0.0278, allocations: 23.67 kB / 302 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.02782, allocations: 12 kB / 302 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007659/0.02858, allocations: 1.717 MB / 303.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.02859, allocations: 7.938 kB / 303.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.02913, allocations: 0.6659 MB / 304.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.02919, allocations: 67.45 kB / 304.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.02923, allocations: 16 kB / 304.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.02933, allocations: 12 kB / 304.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.0294, allocations: 47.8 kB / 304.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.02941, allocations: 16.06 kB / 304.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.02962, allocations: 342.9 kB / 304.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02962, allocations: 0 / 304.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004613/0.03008, allocations: 140 kB / 305 MB, free: 4.18 MB / 282.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.0001448/0.03022, allocations: 115.2 kB / 305.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.03079, allocations: 0.5098 MB / 305.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.03079, allocations: 4 kB / 305.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.03101, allocations: 315.1 kB / 306 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.03144, allocations: 107.2 kB / 306.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.03346, allocations: 1.646 MB / 307.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.03359, allocations: 167.1 kB / 307.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.03376, allocations: 89.97 kB / 308 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.03398, allocations: 194.1 kB / 308.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.03398, allocations: 3.938 kB / 308.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Templates: time 0.01085/0.04483, allocations: 5.891 MB / 314 MB, free: 11.14 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.913878940977156]