Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000788/0.000788, allocations: 85.56 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2053, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.001916/0.2073, allocations: 1.862 MB / 376.9 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2084, allocations: 0.9033 MB / 377.8 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.2085, allocations: 3.344 kB / 377.8 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.2088, allocations: 88.25 kB / 377.9 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.209, allocations: 102 kB / 378 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2093, allocations: 106.7 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.2096, allocations: 259.7 kB / 378.4 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.2098, allocations: 83.25 kB / 378.5 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2099, allocations: 98.78 kB / 378.6 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.21, allocations: 94.86 kB / 378.7 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2101, allocations: 8.938 kB / 378.7 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2102, allocations: 42.59 kB / 378.7 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.2102, allocations: 45.75 kB / 378.8 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.2103, allocations: 129.6 kB / 378.9 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2105, allocations: 208.3 kB / 379.1 MB, free: 42.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2106, allocations: 0 / 379.1 MB, free: 42.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2106, allocations: 1.188 kB / 379.1 MB, free: 42.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2106, allocations: 0 / 379.1 MB, free: 42.46 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005581/0.2111, allocations: 0.5 MB / 379.6 MB, free: 41.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2112, allocations: 9.656 kB / 379.6 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2113, allocations: 35.23 kB / 379.6 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.2115, allocations: 252.3 kB / 379.9 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2115, allocations: 11.69 kB / 379.9 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.2116, allocations: 18.28 kB / 379.9 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.2119, allocations: 169.7 kB / 380.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2119, allocations: 0 / 380.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.2119, allocations: 5.25 kB / 380.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2119, allocations: 4.219 kB / 380.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.2121, allocations: 116.7 kB / 380.2 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.2128, allocations: 0.5617 MB / 380.8 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.2131, allocations: 164.5 kB / 380.9 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.2132, allocations: 88.08 kB / 381 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.2133, allocations: 2.75 kB / 381 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.2135, allocations: 118.2 kB / 381.1 MB, free: 40.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.2135, allocations: 0 / 381.1 MB, free: 40.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004258/0.214, allocations: 241.7 kB / 381.4 MB, free: 40.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.214, allocations: 54.03 kB / 381.4 MB, free: 40.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2142, allocations: 251.8 kB / 381.7 MB, free: 40.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2142, allocations: 28.11 kB / 381.7 MB, free: 40.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.2143, allocations: 147.4 kB / 381.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.2143, allocations: 59.08 kB / 381.9 MB, free: 40.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.2143, allocations: 5.531 kB / 381.9 MB, free: 40.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.2144, allocations: 336.8 kB / 382.2 MB, free: 39.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2145, allocations: 53.69 kB / 382.3 MB, free: 39.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2146, allocations: 83.06 kB / 382.3 MB, free: 39.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2148, allocations: 147.2 kB / 382.5 MB, free: 39.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2148, allocations: 4.969 kB / 382.5 MB, free: 39.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002967/0.2152, allocations: 207.9 kB / 382.7 MB, free: 39.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2152, allocations: 9.359 kB / 382.7 MB, free: 39.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2152, allocations: 1.344 kB / 382.7 MB, free: 39.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2152, allocations: 1.469 kB / 382.7 MB, free: 39.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2154, allocations: 41.23 kB / 382.8 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2154, allocations: 13.08 kB / 382.8 MB, free: 39.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2155, allocations: 33.45 kB / 382.8 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2156, allocations: 5.125 kB / 382.8 MB, free: 39.54 MB / 298.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 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.545e-05/0.2157, allocations: 145.9 kB / 382.9 MB, free: 39.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.2157, allocations: 17.97 kB / 383 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.2158, allocations: 25.5 kB / 383 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2158, allocations: 2.031 kB / 383 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2158, allocations: 9.359 kB / 383 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2158, allocations: 0 / 383 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.216, allocations: 285.8 kB / 383.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.216, allocations: 4 kB / 383.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.2162, allocations: 36.61 kB / 383.3 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2162, allocations: 1.031 kB / 383.3 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2162, allocations: 6.469 kB / 383.3 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2162, allocations: 1.469 kB / 383.3 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2162, allocations: 11.86 kB / 383.3 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.2167, allocations: 285.8 kB / 383.6 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.2167, allocations: 103 kB / 383.7 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.2167, allocations: 9.562 kB / 383.7 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.2168, allocations: 8.156 kB / 383.7 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.2169, allocations: 15.14 kB / 383.8 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.2169, allocations: 4 kB / 383.8 MB, free: 38.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.2171, allocations: 188.7 kB / 383.9 MB, free: 38.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2171, allocations: 0 / 383.9 MB, free: 38.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000268/0.2173, allocations: 60.06 kB / 384 MB, free: 38.61 MB / 298.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.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007756/0.2181, allocations: 404.1 kB / 384.4 MB, free: 38.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.2184, allocations: 143.8 kB / 384.5 MB, free: 38.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2184, allocations: 0 / 384.5 MB, free: 38.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.2185, allocations: 73.89 kB / 384.6 MB, free: 38.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2189, allocations: 47.89 kB / 384.7 MB, free: 38.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.2197, allocations: 0.6766 MB / 385.3 MB, free: 37.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2199, allocations: 0.7518 MB / 386.1 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.22, allocations: 26.38 kB / 386.1 MB, free: 36.91 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.22, allocations: 0 / 386.1 MB, free: 36.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004015/0.224, allocations: 3.093 MB / 389.2 MB, free: 34.21 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches