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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 81.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 159.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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=720000,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=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 66.5 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1009, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003735/0.1047, allocations: 2.153 MB / 381.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1068, allocations: 1.172 MB / 382.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1069, allocations: 4 kB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.1073, allocations: 91.5 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.1077, allocations: 167.1 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.108, allocations: 119.6 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1083, allocations: 290.8 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1085, allocations: 64.77 kB / 382.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1087, allocations: 119.6 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1089, allocations: 119.4 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1089, allocations: 20 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.109, allocations: 55.97 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.1091, allocations: 55.77 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1093, allocations: 91.55 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.1097, allocations: 310.7 kB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1097, allocations: 0 / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1097, allocations: 0 / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1097, allocations: 0 / 383.7 MB, free: 10.64 MB / 350.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.0008737/0.1105, allocations: 497.2 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1106, allocations: 11.98 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.1107, allocations: 36.73 kB / 384.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1111, allocations: 194 kB / 384.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1111, allocations: 12.38 kB / 384.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1111, allocations: 16.38 kB / 384.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.1115, allocations: 173.8 kB / 384.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1115, allocations: 0 / 384.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1115, allocations: 4 kB / 384.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1115, allocations: 4 kB / 384.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.1118, allocations: 123.7 kB / 384.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/0.1127, allocations: 467.9 kB / 385.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.113, allocations: 158.4 kB / 385.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.1132, allocations: 92.8 kB / 385.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1132, allocations: 0 / 385.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1134, allocations: 118.8 kB / 385.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.1134, allocations: 0 / 385.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005326/0.114, allocations: 241.4 kB / 385.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.114, allocations: 59.34 kB / 385.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1143, allocations: 256.1 kB / 386.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1143, allocations: 33.7 kB / 386.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1144, allocations: 148.3 kB / 386.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.1145, allocations: 75.38 kB / 386.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.1146, allocations: 45.7 kB / 386.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1147, allocations: 330.8 kB / 386.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1149, allocations: 51.92 kB / 386.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.115, allocations: 95.98 kB / 386.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1153, allocations: 150.3 kB / 387 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1153, allocations: 0 / 387 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003854/0.1157, allocations: 217.3 kB / 387.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1157, allocations: 4 kB / 387.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1157, allocations: 4 kB / 387.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1157, allocations: 0 / 387.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1159, allocations: 47.97 kB / 387.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.116, allocations: 4 kB / 387.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.116, allocations: 15.83 kB / 387.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.1161, allocations: 12 kB / 387.3 MB, free: 6.828 MB / 350.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.0001405/0.1162, allocations: 144.8 kB / 387.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1163, allocations: 23.86 kB / 387.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.1167, allocations: 219.3 kB / 387.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1167, allocations: 4 kB / 387.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1167, allocations: 0 / 387.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1167, allocations: 3.984 kB / 387.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.117, allocations: 209.1 kB / 387.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.117, allocations: 3.984 kB / 387.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.1172, allocations: 39.98 kB / 388 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1172, allocations: 0 / 388 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1172, allocations: 0 / 388 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.1172, allocations: 11.94 kB / 388 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1172, allocations: 0 / 388 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.1178, allocations: 310 kB / 388.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.1178, allocations: 19.89 kB / 388.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1178, allocations: 7.984 kB / 388.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1179, allocations: 4 kB / 388.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.118, allocations: 15.97 kB / 388.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.118, allocations: 4 kB / 388.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.1182, allocations: 193.6 kB / 388.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1182, allocations: 0 / 388.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1185, allocations: 79.81 kB / 388.6 MB, free: 5.504 MB / 350.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.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.001638/0.1201, allocations: 441.4 kB / 389 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.1204, allocations: 139.9 kB / 389.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1204, allocations: 0 / 389.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1206, allocations: 75.91 kB / 389.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1209, allocations: 47.64 kB / 389.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1219, allocations: 0.5562 MB / 389.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.1221, allocations: 137.8 kB / 390 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1222, allocations: 33.92 kB / 390 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.1223, allocations: 20.5 kB / 390 MB, free: 4.172 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1223, allocations: 0 / 390 MB, free: 4.172 MB / 350.1 MB Notification: Performance of Templates: time 0.006855/0.1291, allocations: 2.649 MB / 392.7 MB, free: 1.555 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.351494066999294]