Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001718, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009572/0.0009572, allocations: 105.4 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000979/0.0009794, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2051, allocations: 50.46 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003511/0.2087, allocations: 2.311 MB / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2105, allocations: 1.23 MB / 410.6 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2107, allocations: 4 kB / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.211, allocations: 87.67 kB / 410.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.2115, allocations: 139.3 kB / 410.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2118, allocations: 119.8 kB / 410.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.2121, allocations: 286.8 kB / 411.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2123, allocations: 81.55 kB / 411.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2124, allocations: 103.6 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.2126, allocations: 127.4 kB / 411.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.2126, allocations: 12 kB / 411.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.2128, allocations: 47.98 kB / 411.6 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.2128, allocations: 59.81 kB / 411.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.432e-05/0.2129, allocations: 115.3 kB / 411.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.2132, allocations: 280.6 kB / 412 MB, free: 22.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2132, allocations: 0 / 412 MB, free: 22.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2132, allocations: 4 kB / 412 MB, free: 22.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2132, allocations: 0 / 412 MB, free: 22.83 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.0007474/0.214, allocations: 0.5536 MB / 412.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.214, allocations: 8.031 kB / 412.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.2142, allocations: 28.66 kB / 412.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.2144, allocations: 267.5 kB / 412.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2145, allocations: 12.38 kB / 412.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.2145, allocations: 20.12 kB / 412.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.2148, allocations: 161.4 kB / 413.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2148, allocations: 0 / 413.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.2148, allocations: 11.94 kB / 413.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2148, allocations: 8 kB / 413.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.215, allocations: 111.9 kB / 413.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/0.2158, allocations: 0.5661 MB / 413.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.216, allocations: 166.5 kB / 413.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2162, allocations: 92.81 kB / 414 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.2162, allocations: 4 kB / 414 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.2165, allocations: 117.8 kB / 414.1 MB, free: 20.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.2165, allocations: 0 / 414.1 MB, free: 20.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004458/0.2169, allocations: 233.6 kB / 414.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.217, allocations: 51.41 kB / 414.4 MB, free: 20.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2172, allocations: 265 kB / 414.7 MB, free: 19.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2172, allocations: 29.7 kB / 414.7 MB, free: 19.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.2173, allocations: 144.3 kB / 414.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.2174, allocations: 71.08 kB / 414.9 MB, free: 19.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.2174, allocations: 37.72 kB / 414.9 MB, free: 19.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.2175, allocations: 342.8 kB / 415.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2176, allocations: 51.97 kB / 415.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.2177, allocations: 84.88 kB / 415.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.2179, allocations: 154.3 kB / 415.6 MB, free: 19.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2179, allocations: 4 kB / 415.6 MB, free: 19.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002835/0.2182, allocations: 201.2 kB / 415.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2183, allocations: 4 kB / 415.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2183, allocations: 8 kB / 415.8 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2183, allocations: 3.938 kB / 415.8 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.2185, allocations: 39.98 kB / 415.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2185, allocations: 7.938 kB / 415.8 MB, free: 18.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2186, allocations: 31.83 kB / 415.9 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2186, allocations: 8 kB / 415.9 MB, free: 18.74 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 9.326e-05/0.2187, allocations: 152.5 kB / 416 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.2188, allocations: 19.81 kB / 416 MB, free: 18.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.507e-05/0.2189, allocations: 34.17 kB / 416.1 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2189, allocations: 4 kB / 416.1 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2189, allocations: 3.938 kB / 416.1 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2189, allocations: 0 / 416.1 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2191, allocations: 281.4 kB / 416.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2191, allocations: 4 kB / 416.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2193, allocations: 43.86 kB / 416.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2193, allocations: 4 kB / 416.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2193, allocations: 0 / 416.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2193, allocations: 0 / 416.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2193, allocations: 3.938 kB / 416.4 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.2216, allocations: 2.131 MB / 418.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.2217, allocations: 96.86 kB / 418.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2217, allocations: 7.984 kB / 418.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.2218, allocations: 7.984 kB / 418.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.2219, allocations: 15.98 kB / 418.7 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.2219, allocations: 4 kB / 418.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.222, allocations: 196.5 kB / 418.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.222, allocations: 4.062 kB / 418.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.2224, allocations: 79.84 kB / 418.9 MB, free: 15.39 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.000781/0.2232, allocations: 407.2 kB / 419.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.2235, allocations: 146.4 kB / 419.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2235, allocations: 0 / 419.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2236, allocations: 67.92 kB / 419.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.224, allocations: 56.52 kB / 419.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.2249, allocations: 0.8047 MB / 420.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.2251, allocations: 0.7482 MB / 421.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.2252, allocations: 29.94 kB / 421.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.2253, allocations: 27.44 kB / 421.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2253, allocations: 0 / 421.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Templates: time 0.005783/0.2311, allocations: 2.913 MB / 424.1 MB, free: 10.3 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches