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/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_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_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.001023/0.001023, allocations: 183 kB / 17.91 MB, free: 3.855 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.163/1.163, allocations: 205.1 MB / 223.8 MB, free: 8.496 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.000892/0.000892, allocations: 96.7 kB / 271.2 MB, free: 8.469 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007608/0.0007608, allocations: 47.92 kB / 327.2 MB, free: 352 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1831, allocations: 46.61 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002891/0.186, allocations: 2.273 MB / 376.1 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1871, allocations: 0.965 MB / 377.1 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.1872, allocations: 3.688 kB / 377.1 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1875, allocations: 77.58 kB / 377.1 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1877, allocations: 109 kB / 377.2 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1879, allocations: 108.1 kB / 377.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.1882, allocations: 278.6 kB / 377.6 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1883, allocations: 75.02 kB / 377.7 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1884, allocations: 106 kB / 377.8 MB, free: 42.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1886, allocations: 126.9 kB / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.1886, allocations: 12.69 kB / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1887, allocations: 50.09 kB / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.1888, allocations: 45.09 kB / 378 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.638e-05/0.1889, allocations: 114.9 kB / 378.1 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1891, allocations: 277.6 kB / 378.4 MB, free: 42.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1891, allocations: 0 / 378.4 MB, free: 42.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1891, allocations: 0 / 378.4 MB, free: 42.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1892, allocations: 0 / 378.4 MB, free: 42.42 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.0005971/0.1898, allocations: 0.5459 MB / 379 MB, free: 41.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1898, allocations: 8.812 kB / 379 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1899, allocations: 32.89 kB / 379 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1901, allocations: 251 kB / 379.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1901, allocations: 15.28 kB / 379.3 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1902, allocations: 22.84 kB / 379.3 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1904, allocations: 166.9 kB / 379.4 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1905, allocations: 7.922 kB / 379.4 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1905, allocations: 10.59 kB / 379.5 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1905, allocations: 3.969 kB / 379.5 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1907, allocations: 117.6 kB / 379.6 MB, free: 41.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.1913, allocations: 0.5594 MB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1916, allocations: 169.6 kB / 380.3 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1917, allocations: 84.14 kB / 380.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1918, allocations: 3.344 kB / 380.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.192, allocations: 117.1 kB / 380.5 MB, free: 40.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.192, allocations: 1.094 kB / 380.5 MB, free: 40.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004012/0.1924, allocations: 234.9 kB / 380.7 MB, free: 40.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.1924, allocations: 52.81 kB / 380.8 MB, free: 40.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1926, allocations: 254.7 kB / 381 MB, free: 40.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1926, allocations: 30.95 kB / 381.1 MB, free: 40.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.1927, allocations: 139 kB / 381.2 MB, free: 40.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1927, allocations: 71.84 kB / 381.3 MB, free: 40.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1928, allocations: 44.73 kB / 381.3 MB, free: 40.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.1928, allocations: 336.3 kB / 381.6 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-05/0.1929, allocations: 47.83 kB / 381.7 MB, free: 39.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.193, allocations: 87.73 kB / 381.8 MB, free: 39.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1933, allocations: 148.2 kB / 381.9 MB, free: 39.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1933, allocations: 0 / 381.9 MB, free: 39.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002757/0.1935, allocations: 202.4 kB / 382.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1936, allocations: 5.656 kB / 382.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1936, allocations: 0 / 382.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1936, allocations: 6.844 kB / 382.1 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.1938, allocations: 52.19 kB / 382.2 MB, free: 39.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1938, allocations: 10.22 kB / 382.2 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.1939, allocations: 20.5 kB / 382.2 MB, free: 39.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1939, allocations: 4.844 kB / 382.2 MB, free: 39.45 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 ($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.393e-05/0.194, allocations: 152.9 kB / 382.4 MB, free: 39.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.194, allocations: 23.41 kB / 382.4 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.1941, allocations: 29.36 kB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1941, allocations: 5.344 kB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1941, allocations: 5.438 kB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1941, allocations: 0 / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1943, allocations: 285.7 kB / 382.7 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1943, allocations: 0 / 382.7 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1945, allocations: 36.8 kB / 382.7 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1945, allocations: 0.9688 kB / 382.7 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1945, allocations: 9.328 kB / 382.8 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1945, allocations: 1.344 kB / 382.8 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1945, allocations: 9.094 kB / 382.8 MB, free: 38.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.1966, allocations: 2.113 MB / 384.9 MB, free: 37.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.1966, allocations: 98.78 kB / 385 MB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1967, allocations: 6.375 kB / 385 MB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.1967, allocations: 3.719 kB / 385 MB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1968, allocations: 18.55 kB / 385 MB, free: 37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1968, allocations: 7.578 kB / 385 MB, free: 36.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1969, allocations: 185.9 kB / 385.2 MB, free: 36.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.197, allocations: 0 / 385.2 MB, free: 36.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.1973, allocations: 80.66 kB / 385.3 MB, free: 36.86 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 (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.0007067/0.198, allocations: 411.2 kB / 385.7 MB, free: 36.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1983, allocations: 156.6 kB / 385.8 MB, free: 36.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1983, allocations: 0 / 385.8 MB, free: 36.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1984, allocations: 75.88 kB / 385.9 MB, free: 36.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1987, allocations: 44.69 kB / 385.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.1995, allocations: 0.7991 MB / 386.7 MB, free: 35.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.1997, allocations: 0.7502 MB / 387.5 MB, free: 35.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1998, allocations: 27.75 kB / 387.5 MB, free: 35.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.1999, allocations: 26.25 kB / 387.5 MB, free: 35.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1999, allocations: 0 / 387.5 MB, free: 35.02 MB / 298.7 MB Notification: Performance of Templates: time 0.00457/0.2044, allocations: 2.894 MB / 390.4 MB, free: 32.34 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches