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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001594/0.001593, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 58.97 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 50.54 MB / 357.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004096/0.1114, allocations: 2.287 MB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1136, allocations: 1.214 MB / 361.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.1138, allocations: 7.938 kB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.1143, allocations: 87.69 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.1149, allocations: 143.3 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1153, allocations: 95.78 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.1157, allocations: 290.8 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.116, allocations: 96.55 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.1162, allocations: 111.6 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1164, allocations: 135.5 kB / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.1164, allocations: 19.94 kB / 362.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1166, allocations: 55.98 kB / 362.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.1167, allocations: 55.81 kB / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.1169, allocations: 119.4 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1172, allocations: 223.8 kB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1172, allocations: 0 / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1172, allocations: 0 / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.1172, allocations: 0 / 362.5 MB, free: 9.48 MB / 302.1 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.0008999/0.1181, allocations: 0.5483 MB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1182, allocations: 12.03 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.1184, allocations: 24.66 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.1187, allocations: 271.3 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1188, allocations: 12.38 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.1188, allocations: 28.12 kB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.1192, allocations: 157.6 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1192, allocations: 0 / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1192, allocations: 8 kB / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1192, allocations: 4 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.1195, allocations: 115.7 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.1205, allocations: 0.5741 MB / 364.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.1208, allocations: 162.5 kB / 364.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1209, allocations: 84.83 kB / 364.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.121, allocations: 4 kB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.1213, allocations: 115.3 kB / 364.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.1213, allocations: 0 / 364.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005175/0.1218, allocations: 239.8 kB / 364.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1219, allocations: 55.41 kB / 364.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1221, allocations: 257 kB / 365.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1222, allocations: 29.7 kB / 365.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1223, allocations: 148.3 kB / 365.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.1224, allocations: 74.97 kB / 365.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.1224, allocations: 37.72 kB / 365.5 MB, free: 6.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1226, allocations: 342.8 kB / 365.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1227, allocations: 47.97 kB / 365.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1228, allocations: 84.5 kB / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.1231, allocations: 150.5 kB / 366.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1231, allocations: 0 / 366.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003535/0.1235, allocations: 201.2 kB / 366.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1235, allocations: 8 kB / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1235, allocations: 3.938 kB / 366.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1235, allocations: 8.094 kB / 366.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1237, allocations: 47.92 kB / 366.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1238, allocations: 7.922 kB / 366.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1239, allocations: 23.73 kB / 366.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1239, allocations: 12 kB / 366.4 MB, free: 5.395 MB / 302.1 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 0.0001501/0.1241, allocations: 149.3 kB / 366.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.1241, allocations: 19.72 kB / 366.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.1242, allocations: 38.17 kB / 366.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1242, allocations: 4 kB / 366.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1242, allocations: 3.938 kB / 366.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1242, allocations: 0 / 366.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.1246, allocations: 289.5 kB / 366.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1246, allocations: 3.984 kB / 366.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1247, allocations: 31.98 kB / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1248, allocations: 0 / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1248, allocations: 8 kB / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1248, allocations: 3.938 kB / 366.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1248, allocations: 3.938 kB / 366.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.1253, allocations: 280.3 kB / 367.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.1254, allocations: 108.8 kB / 367.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.1254, allocations: 0 / 367.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1256, allocations: 11.94 kB / 367.3 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1256, allocations: 11.98 kB / 367.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.1256, allocations: 15.98 kB / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1258, allocations: 192.5 kB / 367.5 MB, free: 4.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1258, allocations: 0 / 367.5 MB, free: 4.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1261, allocations: 67.83 kB / 367.6 MB, free: 4.086 MB / 302.1 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.0009693/0.1271, allocations: 407.9 kB / 368 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.1275, allocations: 143.8 kB / 368.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1275, allocations: 0 / 368.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1277, allocations: 82.84 kB / 368.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1281, allocations: 47.66 kB / 368.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1292, allocations: 0.6555 MB / 368.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.1296, allocations: 0.7518 MB / 369.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.1297, allocations: 23.44 kB / 369.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1297, allocations: 4 kB / 369.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of Templates: time 0.1621/0.2919, allocations: 3.162 MB / 372.9 MB, free: 19.62 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches