Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 188.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 103.6 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008354/0.0008354, allocations: 39.92 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2382, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002977/0.2412, allocations: 2.535 MB / 402 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.2422, allocations: 0.6448 MB / 402.7 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2423, allocations: 8 kB / 402.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2425, allocations: 23.77 kB / 402.7 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.2426, allocations: 63.41 kB / 402.7 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2428, allocations: 51.95 kB / 402.8 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.243, allocations: 254.8 kB / 403 MB, free: 29.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.2432, allocations: 87.31 kB / 403.1 MB, free: 29.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.2433, allocations: 91.7 kB / 403.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2434, allocations: 103.5 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.2434, allocations: 12 kB / 403.3 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.435e-05/0.2435, allocations: 31.92 kB / 403.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.2436, allocations: 43.78 kB / 403.4 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.2436, allocations: 111.5 kB / 403.5 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2438, allocations: 244.7 kB / 403.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2439, allocations: 0 / 403.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2439, allocations: 0 / 403.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2439, allocations: 0 / 403.8 MB, free: 29.06 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008084/0.2447, allocations: 0.5459 MB / 404.3 MB, free: 28.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2447, allocations: 8.031 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/0.2448, allocations: 28.66 kB / 404.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.245, allocations: 228.3 kB / 404.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2451, allocations: 20.81 kB / 404.6 MB, free: 28.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.2451, allocations: 24.38 kB / 404.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.2454, allocations: 234.1 kB / 404.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2455, allocations: 0 / 404.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.2455, allocations: 8 kB / 404.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2455, allocations: 8 kB / 404.8 MB, free: 27.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.2459, allocations: 157.6 kB / 405 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.2469, allocations: 0.8166 MB / 405.8 MB, free: 26.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.2472, allocations: 170.5 kB / 406 MB, free: 26.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2474, allocations: 80.81 kB / 406.1 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2474, allocations: 4 kB / 406.1 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.2474, allocations: 30.56 kB / 406.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2474, allocations: 0 / 406.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007509/0.2482, allocations: 347 kB / 406.4 MB, free: 26.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.2482, allocations: 51.41 kB / 406.5 MB, free: 26.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2483, allocations: 179.2 kB / 406.7 MB, free: 25.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2484, allocations: 25.7 kB / 406.7 MB, free: 25.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.2484, allocations: 152.1 kB / 406.8 MB, free: 25.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2485, allocations: 51.2 kB / 406.9 MB, free: 25.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.2485, allocations: 41.7 kB / 406.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.2486, allocations: 326.8 kB / 407.2 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2487, allocations: 55.95 kB / 407.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2488, allocations: 88.27 kB / 407.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.2491, allocations: 144 kB / 407.5 MB, free: 25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2491, allocations: 0 / 407.5 MB, free: 25 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003697/0.2495, allocations: 224.8 kB / 407.7 MB, free: 24.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2495, allocations: 8 kB / 407.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2495, allocations: 0 / 407.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.2497, allocations: 32.84 kB / 407.8 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2498, allocations: 32.09 kB / 407.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007881/0.2506, allocations: 1.37 MB / 409.2 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.2508, allocations: 35.88 kB / 409.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.2508, allocations: 8 kB / 409.2 MB, free: 23.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 9.871e-05/0.2509, allocations: 137.7 kB / 409.4 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.251, allocations: 15.81 kB / 409.4 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.251, allocations: 25.86 kB / 409.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.251, allocations: 3.938 kB / 409.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.251, allocations: 0 / 409.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2511, allocations: 8 kB / 409.4 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.2516, allocations: 0.5108 MB / 409.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2516, allocations: 3.984 kB / 409.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2518, allocations: 23.98 kB / 410 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.151e-05/0.2519, allocations: 40.72 kB / 410 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2519, allocations: 8 kB / 410 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006351/0.2525, allocations: 1.356 MB / 411.4 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2525, allocations: 4.031 kB / 411.4 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.2554, allocations: 3.235 MB / 414.6 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.2554, allocations: 108.8 kB / 414.7 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2555, allocations: 4 kB / 414.7 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2557, allocations: 19.97 kB / 414.7 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.2557, allocations: 24.09 kB / 414.7 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2557, allocations: 4 kB / 414.8 MB, free: 17.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.462e-05/0.2558, allocations: 127.2 kB / 414.9 MB, free: 17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2558, allocations: 3.938 kB / 414.9 MB, free: 16.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.2562, allocations: 75.84 kB / 415 MB, free: 16.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 9.024e-05/0.2563, allocations: 103.2 kB / 415.1 MB, free: 16.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.2567, allocations: 266.7 kB / 415.3 MB, free: 16.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2568, allocations: 0 / 415.3 MB, free: 16.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.257, allocations: 189.7 kB / 415.5 MB, free: 16.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2573, allocations: 31.92 kB / 415.5 MB, free: 16.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.2581, allocations: 0.8085 MB / 416.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2583, allocations: 0.7479 MB / 417.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.953e-05/0.2584, allocations: 13.55 kB / 417.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.2584, allocations: 15.44 kB / 417.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2584, allocations: 4 kB / 417.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.004556/0.263, allocations: 2.762 MB / 419.9 MB, free: 11.91 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches