Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.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.001369/0.001369, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001596/0.001596, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 48.02 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2584, allocations: 53.37 MB / 432.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005375/0.2638, allocations: 2.832 MB / 435.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.2662, allocations: 0.9864 MB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.2666, allocations: 19.81 kB / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.267, allocations: 99.05 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.2674, allocations: 91.02 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.2682, allocations: 235.6 kB / 436.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008921/0.2691, allocations: 0.541 MB / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.2695, allocations: 138.1 kB / 437.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.2699, allocations: 187.2 kB / 437.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2702, allocations: 159 kB / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.2703, allocations: 36 kB / 437.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.2705, allocations: 59.98 kB / 437.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2706, allocations: 91.58 kB / 437.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.2708, allocations: 187 kB / 438 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.2716, allocations: 0.5911 MB / 438.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.2716, allocations: 3.984 kB / 438.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2716, allocations: 0 / 438.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.2716, allocations: 0 / 438.6 MB, free: 0.5977 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001367/0.273, allocations: 0.6775 MB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2731, allocations: 8.031 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.2733, allocations: 71.23 kB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.2741, allocations: 363.3 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.2741, allocations: 29 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.2742, allocations: 40 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.275, allocations: 491.3 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.275, allocations: 15.81 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.275, allocations: 20 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.2751, allocations: 12 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.2756, allocations: 242.2 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.278, allocations: 2.626 MB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.2785, allocations: 150.6 kB / 443.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.2786, allocations: 68.88 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/0.2787, allocations: 4 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2788, allocations: 38.55 kB / 443.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.2788, allocations: 0 / 443.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001348/0.2801, allocations: 0.5578 MB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.2802, allocations: 55.41 kB / 444 MB, free: 10.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.2806, allocations: 353.5 kB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2806, allocations: 25.7 kB / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.2808, allocations: 315.7 kB / 444.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.2809, allocations: 71.38 kB / 444.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.281, allocations: 73.59 kB / 444.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2812, allocations: 346.7 kB / 445.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2813, allocations: 67.97 kB / 445.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.2816, allocations: 229 kB / 445.4 MB, free: 9.281 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/0.2825, allocations: 438.1 kB / 445.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2825, allocations: 4 kB / 445.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005899/0.2831, allocations: 357.6 kB / 446.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2831, allocations: 11.94 kB / 446.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2832, allocations: 4 kB / 446.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.2833, allocations: 40.84 kB / 446.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.2836, allocations: 72.53 kB / 446.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.285, allocations: 1.505 MB / 447.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2852, allocations: 15.98 kB / 447.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.2852, allocations: 20 kB / 447.9 MB, free: 6.652 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.2854, allocations: 169.7 kB / 448 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.2855, allocations: 35.77 kB / 448.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.2856, allocations: 39.52 kB / 448.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2856, allocations: 8.062 kB / 448.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2856, allocations: 0 / 448.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2856, allocations: 0 / 448.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009295/0.2865, allocations: 0.5584 MB / 448.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2865, allocations: 0 / 448.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.2867, allocations: 43.91 kB / 448.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-05/0.2868, allocations: 20.86 kB / 448.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.2868, allocations: 7.984 kB / 448.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.288, allocations: 1.304 MB / 450.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.288, allocations: 4.031 kB / 450.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.2885, allocations: 367.7 kB / 450.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.2886, allocations: 31.77 kB / 450.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.2886, allocations: 4 kB / 450.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2887, allocations: 8.031 kB / 450.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.2888, allocations: 11.98 kB / 450.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2888, allocations: 4 kB / 450.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.289, allocations: 243.2 kB / 450.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.289, allocations: 0 / 450.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.2895, allocations: 68 kB / 450.8 MB, free: 3.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * 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 (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.2897, allocations: 107.1 kB / 450.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.2903, allocations: 307.4 kB / 451.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2903, allocations: 0 / 451.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.2905, allocations: 178 kB / 451.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.2909, allocations: 41.42 kB / 451.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2925, allocations: 0.8939 MB / 452.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2928, allocations: 215.1 kB / 452.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.2929, allocations: 31.44 kB / 452.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2929, allocations: 0 / 452.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Templates: time 0.01019/0.303, allocations: 6.645 MB / 459.2 MB, free: 11.06 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.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.81412735208869]