Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.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.001385/0.001385, allocations: 84.25 kB / 22.22 MB, free: 2.281 MB / 18.57 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.0009346/0.0009346, allocations: 168.7 kB / 25.61 MB, free: 8.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9477/0.9477, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.022e-05, allocations: 2.312 kB / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003269/0.003289, allocations: 2.972 MB / 277.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.004806, allocations: 1.015 MB / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.004989, allocations: 15.88 kB / 278.1 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.005197, allocations: 92.86 kB / 278.2 MB, free: 220 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.005355, allocations: 118.8 kB / 278.3 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.005829, allocations: 225.3 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.006219, allocations: 0.5679 MB / 279.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.006442, allocations: 147.2 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.006723, allocations: 279.4 kB / 279.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.006862, allocations: 123.5 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.006901, allocations: 36 kB / 279.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.006994, allocations: 55.92 kB / 279.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.007047, allocations: 95.59 kB / 279.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.007138, allocations: 139.6 kB / 279.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.007486, allocations: 366.5 kB / 280.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007489, allocations: 0 / 280.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00749, allocations: 0 / 280.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.007495, allocations: 0 / 280.3 MB, free: 14.08 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0006384/0.008134, allocations: 0.784 MB / 281.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.008164, allocations: 8.031 kB / 281.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.008328, allocations: 100.4 kB / 281.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.00869, allocations: 390.2 kB / 281.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.008711, allocations: 29 kB / 281.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.008753, allocations: 43.95 kB / 281.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.009132, allocations: 477.1 kB / 282.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.00915, allocations: 7.875 kB / 282.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.009177, allocations: 20 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.009187, allocations: 12 kB / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.009363, allocations: 150.8 kB / 282.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.01111, allocations: 3.626 MB / 285.9 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.01134, allocations: 111.1 kB / 286 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.01138, allocations: 39.66 kB / 286.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.01144, allocations: 8 kB / 286.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.01146, allocations: 41.38 kB / 286.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.01146, allocations: 0 / 286.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005932/0.01205, allocations: 399.2 kB / 286.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.01208, allocations: 55.41 kB / 286.6 MB, free: 7.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.01229, allocations: 398.4 kB / 286.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.0123, allocations: 33.7 kB / 287 MB, free: 6.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.01245, allocations: 350.4 kB / 287.3 MB, free: 6.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.01249, allocations: 63.47 kB / 287.4 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.01255, allocations: 75.28 kB / 287.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.01268, allocations: 0.5195 MB / 288 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.01272, allocations: 27.97 kB / 288 MB, free: 5.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.01284, allocations: 244.5 kB / 288.2 MB, free: 5.59 MB / 266.7 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.0003242/0.01317, allocations: 364.2 kB / 288.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01317, allocations: 0 / 288.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003118/0.01348, allocations: 292.5 kB / 288.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.0135, allocations: 8 kB / 288.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.01351, allocations: 8 kB / 288.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.01364, allocations: 36.23 kB / 288.9 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01378, allocations: 75.91 kB / 289 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009233/0.0147, allocations: 2.018 MB / 291 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.01478, allocations: 11.98 kB / 291 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.0148, allocations: 16 kB / 291.1 MB, free: 2.559 MB / 266.7 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.0003938/0.01519, allocations: 180.4 kB / 291.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.01523, allocations: 47.8 kB / 291.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.01527, allocations: 39.52 kB / 291.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01527, allocations: 0 / 291.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01527, allocations: 3.938 kB / 291.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01528, allocations: 8 kB / 291.3 MB, free: 2.277 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.01575, allocations: 0.5011 MB / 291.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01575, allocations: 0 / 291.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.01585, allocations: 35.97 kB / 291.9 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-05/0.01591, allocations: 15.69 kB / 291.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01592, allocations: 19.95 kB / 291.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006856/0.01661, allocations: 1.733 MB / 293.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01661, allocations: 4 kB / 293.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.01684, allocations: 342 kB / 294 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01686, allocations: 27.77 kB / 294 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.01688, allocations: 8 kB / 294 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.01693, allocations: 0 / 294 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.01696, allocations: 20 kB / 294 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01697, allocations: 7.938 kB / 294 MB, free: 15.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.01709, allocations: 251 kB / 294.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01709, allocations: 0 / 294.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00027/0.01736, allocations: 64 kB / 294.3 MB, free: 15.08 MB / 282.7 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 9.441e-05/0.01745, allocations: 103.2 kB / 294.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.01775, allocations: 317.5 kB / 294.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01775, allocations: 0 / 294.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01786, allocations: 221.3 kB / 295 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01811, allocations: 47.45 kB / 295 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.01919, allocations: 0.78 MB / 295.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.235e-05/0.01925, allocations: 104.6 kB / 295.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.01933, allocations: 39.27 kB / 295.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01943, allocations: 126.2 kB / 296.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01943, allocations: 0 / 296.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of Templates: time 0.005857/0.02529, allocations: 3.025 MB / 299.1 MB, free: 10.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/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.7034057988785207]