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.001638/0.001638, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001787/0.001787, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.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.001859/0.001859, allocations: 63.89 kB / 373.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09831, allocations: 53.33 MB / 427.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003608/0.1019, allocations: 2.266 MB / 429.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.104, allocations: 1.231 MB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.1041, allocations: 4 kB / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1044, allocations: 91.5 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1047, allocations: 163 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.105, allocations: 119.6 kB / 431 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1053, allocations: 302.7 kB / 431.3 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1055, allocations: 72.58 kB / 431.4 MB, free: 248 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1057, allocations: 111.6 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1059, allocations: 123.5 kB / 431.6 MB, free: 12 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.1966/0.3025, allocations: 16.48 kB / 431.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.3028, allocations: 54.84 kB / 431.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3029, allocations: 57.12 kB / 431.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.303, allocations: 119.1 kB / 431.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.3035, allocations: 294 kB / 432.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3035, allocations: 0.9375 kB / 432.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3035, allocations: 1.5 kB / 432.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3035, allocations: 2.469 kB / 432.1 MB, free: 8.754 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.0007458/0.3043, allocations: 0.5564 MB / 432.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3043, allocations: 10.69 kB / 432.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.3044, allocations: 33.62 kB / 432.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.3048, allocations: 262.6 kB / 433 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.3048, allocations: 11.88 kB / 433 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.3048, allocations: 19 kB / 433 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3052, allocations: 160.6 kB / 433.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3052, allocations: 4.5 kB / 433.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3052, allocations: 5.812 kB / 433.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3052, allocations: 4.281 kB / 433.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.3054, allocations: 126.6 kB / 433.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.3062, allocations: 0.5637 MB / 433.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3065, allocations: 150.8 kB / 434 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.3066, allocations: 83.95 kB / 434.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.3066, allocations: 3.469 kB / 434.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.3068, allocations: 126.9 kB / 434.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.3068, allocations: 0.9844 kB / 434.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004647/0.3073, allocations: 226 kB / 434.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.3073, allocations: 53.62 kB / 434.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3075, allocations: 261.4 kB / 434.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3075, allocations: 32.33 kB / 434.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.3076, allocations: 149.4 kB / 434.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3076, allocations: 68.14 kB / 435 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.3077, allocations: 50.17 kB / 435.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.3078, allocations: 334 kB / 435.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3079, allocations: 54.31 kB / 435.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.308, allocations: 84.3 kB / 435.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3082, allocations: 152.4 kB / 435.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3082, allocations: 0 / 435.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003204/0.3085, allocations: 206.8 kB / 435.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3086, allocations: 7.156 kB / 435.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3086, allocations: 1.344 kB / 435.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3086, allocations: 2.375 kB / 435.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.3088, allocations: 47.47 kB / 435.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3088, allocations: 2.125 kB / 435.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.525e-05/0.3089, allocations: 16.8 kB / 435.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.3089, allocations: 10.62 kB / 436 MB, free: 6.789 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.0001112/0.309, allocations: 151.7 kB / 436.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.3091, allocations: 26.23 kB / 436.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.3091, allocations: 29.23 kB / 436.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3091, allocations: 2.375 kB / 436.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3091, allocations: 4.719 kB / 436.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3091, allocations: 1.281 kB / 436.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.3094, allocations: 286.5 kB / 436.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3094, allocations: 0 / 436.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.3096, allocations: 41.66 kB / 436.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3096, allocations: 1.219 kB / 436.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3096, allocations: 7.219 kB / 436.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3096, allocations: 1.094 kB / 436.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3096, allocations: 1.125 kB / 436.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.31, allocations: 293.3 kB / 436.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.3101, allocations: 97.48 kB / 436.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3101, allocations: 6.344 kB / 436.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.3102, allocations: 6.906 kB / 436.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.3103, allocations: 16.53 kB / 436.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3103, allocations: 8.906 kB / 436.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.3104, allocations: 192.6 kB / 437.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3104, allocations: 5.312 kB / 437.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3107, allocations: 65 kB / 437.2 MB, free: 6.16 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.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.001473/0.3122, allocations: 399 kB / 437.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.3125, allocations: 139.9 kB / 437.7 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3125, allocations: 0 / 437.7 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3126, allocations: 66.25 kB / 437.8 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.313, allocations: 57.22 kB / 437.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.3139, allocations: 0.5445 MB / 438.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3141, allocations: 0.7528 MB / 439.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.3142, allocations: 27.25 kB / 439.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.3142, allocations: 24.95 kB / 439.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3142, allocations: 0 / 439.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of Templates: time 0.007328/0.3216, allocations: 2.738 MB / 441.9 MB, free: 4.762 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/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.405193745158613]