Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.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.00089/0.00089, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004693/0.004693, allocations: 165.1 kB / 24.69 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9392/0.9392, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.551e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.00357/0.003605, allocations: 2.127 MB / 300.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.005147, allocations: 0.9283 MB / 301.5 MB, free: 460 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.005269, allocations: 7.938 kB / 301.5 MB, free: 452 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.005629, allocations: 91.5 kB / 301.6 MB, free: 360 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.005933, allocations: 123.2 kB / 301.7 MB, free: 236 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.006246, allocations: 135.5 kB / 301.8 MB, free: 100 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1411/0.1473, allocations: 288 kB / 302.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.1476, allocations: 57.8 kB / 302.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.1479, allocations: 159.8 kB / 302.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.1481, allocations: 106.8 kB / 302.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1481, allocations: 18.84 kB / 302.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1483, allocations: 52.88 kB / 302.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.1483, allocations: 55.39 kB / 302.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.1484, allocations: 80.08 kB / 302.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.149, allocations: 291.9 kB / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.149, allocations: 2.531 kB / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.149, allocations: 0 / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.149, allocations: 0 / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007248/0.1497, allocations: 482.1 kB / 303.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.1498, allocations: 16.2 kB / 303.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.455e-05/0.1498, allocations: 51.58 kB / 303.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.15, allocations: 29.78 kB / 303.5 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.1504, allocations: 193 kB / 303.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1505, allocations: 14.16 kB / 303.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.1505, allocations: 15.72 kB / 303.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1508, allocations: 170.1 kB / 303.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.1508, allocations: 7.875 kB / 303.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1509, allocations: 9.703 kB / 303.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1509, allocations: 4.281 kB / 303.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.1511, allocations: 117 kB / 304 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.1519, allocations: 0.5017 MB / 304.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1522, allocations: 163 kB / 304.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1523, allocations: 79.09 kB / 304.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1523, allocations: 1.531 kB / 304.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1525, allocations: 117.6 kB / 304.9 MB, free: 12.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.906e-06/0.1525, allocations: 0 / 304.9 MB, free: 12.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004924/0.153, allocations: 237.8 kB / 305.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1531, allocations: 54.36 kB / 305.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1533, allocations: 262.7 kB / 305.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1533, allocations: 32.45 kB / 305.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.1534, allocations: 150.8 kB / 305.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.1535, allocations: 72.47 kB / 305.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.1535, allocations: 43.11 kB / 305.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.1536, allocations: 332.5 kB / 306 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.1536, allocations: 55.98 kB / 306.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.1537, allocations: 92.94 kB / 306.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1539, allocations: 153.8 kB / 306.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1539, allocations: 0.625 kB / 306.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002228/0.1541, allocations: 205.3 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1541, allocations: 6.484 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1541, allocations: 1.344 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1542, allocations: 1.438 kB / 306.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1543, allocations: 50.77 kB / 306.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1543, allocations: 5.609 kB / 306.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.1544, allocations: 18.09 kB / 306.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1544, allocations: 11.12 kB / 306.6 MB, free: 11.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.1545, allocations: 148.2 kB / 306.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1545, allocations: 23.28 kB / 306.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.1548, allocations: 220.6 kB / 307 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1548, allocations: 12.27 kB / 307 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1548, allocations: 0 / 307 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1548, allocations: 1.75 kB / 307 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.155, allocations: 243.5 kB / 307.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.155, allocations: 0.7969 kB / 307.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1551, allocations: 42.38 kB / 307.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1551, allocations: 1.922 kB / 307.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1551, allocations: 5.781 kB / 307.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1551, allocations: 1.406 kB / 307.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1551, allocations: 1.406 kB / 307.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1555, allocations: 307.1 kB / 307.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.1555, allocations: 24.06 kB / 307.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1556, allocations: 5.5 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.1556, allocations: 8.469 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.1557, allocations: 11.42 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1557, allocations: 10.2 kB / 307.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1558, allocations: 204.6 kB / 307.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1558, allocations: 0 / 307.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.156, allocations: 58.34 kB / 307.9 MB, free: 10.42 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/0.1572, allocations: 1.175 MB / 309.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.1574, allocations: 142.7 kB / 309.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1574, allocations: 0 / 309.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.1575, allocations: 79.98 kB / 309.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1578, allocations: 44.27 kB / 309.3 MB, free: 9.414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.1599, allocations: 2.364 MB / 311.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.16, allocations: 138.3 kB / 311.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.1601, allocations: 24.84 kB / 311.9 MB, free: 7.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.1601, allocations: 80.86 kB / 311.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1601, allocations: 1.219 kB / 311.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.1816, allocations: 6.29 MB / 318.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.396, allocations: 9.031 kB / 318.2 MB, free: 5.68 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] "" Variables in the reference:time,core.T,winding.T Variables in the result:time,core.T,winding.T [Calling sys.exit(0), Time elapsed: 22.78566158656031]