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.001343/0.001343, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009166/0.0009166, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 0.9516/0.9516, allocations: 177.2 MB / 205 MB, free: 5.297 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.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 2.044e-06/2.044e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.27e-05, allocations: 2.312 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003273/0.003306, allocations: 3.033 MB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004737, allocations: 1.01 MB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.004917, allocations: 15.88 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.005135, allocations: 99.05 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.00528, allocations: 110.8 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.005809, allocations: 231.5 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.006252, allocations: 0.5641 MB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.00649, allocations: 143.2 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.006802, allocations: 279.4 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.006932, allocations: 119.5 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.006969, allocations: 36 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.00706, allocations: 55.98 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.007107, allocations: 95.53 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.954e-05/0.007197, allocations: 139.6 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.007548, allocations: 366.5 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.007551, allocations: 0 / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007552, allocations: 7.938 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.007557, allocations: 4 kB / 279.2 MB, free: 11.12 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.0006889/0.008246, allocations: 0.7724 MB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.008287, allocations: 12.03 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.008468, allocations: 104.3 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.008857, allocations: 386.3 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.008879, allocations: 29 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.008927, allocations: 40 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.00937, allocations: 497.1 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.009386, allocations: 4 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.009409, allocations: 16 kB / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.009422, allocations: 16 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.009653, allocations: 167.5 kB / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01118, allocations: 3.684 MB / 284.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.01145, allocations: 123.2 kB / 285 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.0115, allocations: 39.67 kB / 285.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.86e-05/0.01158, allocations: 8 kB / 285.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.0116, allocations: 41.31 kB / 285.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.0116, allocations: 0 / 285.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007014/0.01231, allocations: 488.3 kB / 285.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.01233, allocations: 55.41 kB / 285.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.01256, allocations: 390.6 kB / 286 MB, free: 3.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.01257, allocations: 33.7 kB / 286.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01271, allocations: 358.4 kB / 286.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.01275, allocations: 63.44 kB / 286.5 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.0128, allocations: 71.31 kB / 286.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01293, allocations: 0.5157 MB / 287.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.01298, allocations: 35.97 kB / 287.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.01312, allocations: 260.5 kB / 287.4 MB, free: 2.43 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.0003235/0.01344, allocations: 375.4 kB / 287.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01344, allocations: 4 kB / 287.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002985/0.01374, allocations: 316.5 kB / 288 MB, free: 1.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01376, allocations: 8 kB / 288 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01376, allocations: 7.938 kB / 288.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.01388, allocations: 36.34 kB / 288.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01401, allocations: 75.91 kB / 288.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1091/0.1231, allocations: 2.034 MB / 290.2 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1233, allocations: 13.5 kB / 290.2 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1233, allocations: 15.97 kB / 290.2 MB, free: 23.82 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.0001365/0.1234, allocations: 178.7 kB / 290.4 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.1235, allocations: 46.78 kB / 290.4 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.1235, allocations: 39.91 kB / 290.5 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1235, allocations: 2.781 kB / 290.5 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1235, allocations: 4.672 kB / 290.5 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1235, allocations: 3.625 kB / 290.5 MB, free: 23.64 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.0006083/0.1241, allocations: 0.5681 MB / 291.1 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1241, allocations: 0.7969 kB / 291.1 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1242, allocations: 36.45 kB / 291.1 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.65e-05/0.1243, allocations: 24.83 kB / 291.1 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1244, allocations: 8.062 kB / 291.1 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005684/0.1249, allocations: 1.761 MB / 292.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1249, allocations: 1.969 kB / 292.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1252, allocations: 354.6 kB / 293.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.1252, allocations: 28.72 kB / 293.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1253, allocations: 5.75 kB / 293.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.1253, allocations: 3.312 kB / 293.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1254, allocations: 22.77 kB / 293.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1254, allocations: 10.72 kB / 293.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1255, allocations: 251.9 kB / 293.6 MB, free: 21.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1255, allocations: 0 / 293.6 MB, free: 21.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.1258, allocations: 70.53 kB / 293.6 MB, free: 21.26 MB / 266.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 8.961e-05/0.1259, allocations: 103.5 kB / 293.7 MB, free: 21.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.1263, allocations: 326 kB / 294 MB, free: 20.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1263, allocations: 0.8125 kB / 294 MB, free: 20.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1264, allocations: 228.1 kB / 294.3 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1267, allocations: 39.27 kB / 294.3 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1279, allocations: 0.7881 MB / 295.1 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.128, allocations: 102.7 kB / 295.2 MB, free: 20.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.692e-05/0.1281, allocations: 44.67 kB / 295.2 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.1281, allocations: 34.75 kB / 295.3 MB, free: 20.3 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1281, allocations: 0.9375 kB / 295.3 MB, free: 20.3 MB / 266.7 MB Notification: Performance of Templates: time 0.006161/0.1343, allocations: 2.835 MB / 298.1 MB, free: 19.99 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7608125070109963]