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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 212.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.2 MB / 256.8 MB, free: 8.648 MB / 206.1 MB [Timeout remaining time 88] 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.00183/0.00183, allocations: 67.89 kB / 376.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3027, allocations: 53.32 MB / 430.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003885/0.3066, allocations: 2.251 MB / 432.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3088, allocations: 1.243 MB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.309, allocations: 4 kB / 433.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.3093, allocations: 95.5 kB / 433.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.3097, allocations: 163.1 kB / 433.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.31, allocations: 119.6 kB / 434 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.3103, allocations: 290.8 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.3105, allocations: 72.58 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3107, allocations: 115.6 kB / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3109, allocations: 135.4 kB / 434.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.3109, allocations: 24 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3111, allocations: 47.98 kB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.3111, allocations: 59.78 kB / 434.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3113, allocations: 119.3 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.3117, allocations: 292 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3117, allocations: 0 / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3117, allocations: 0 / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3117, allocations: 0 / 435.2 MB, free: 2.637 MB / 334.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.0008845/0.3126, allocations: 0.5647 MB / 435.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3126, allocations: 8.031 kB / 435.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3128, allocations: 32.75 kB / 435.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3131, allocations: 263.8 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3132, allocations: 12.38 kB / 436.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.3132, allocations: 20.12 kB / 436.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.3135, allocations: 157.6 kB / 436.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3136, allocations: 11.92 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3136, allocations: 4 kB / 436.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3136, allocations: 4 kB / 436.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.3138, allocations: 119.7 kB / 436.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.3147, allocations: 0.5548 MB / 436.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.3151, allocations: 158.5 kB / 437.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.3152, allocations: 81.16 kB / 437.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3153, allocations: 7.953 kB / 437.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.3155, allocations: 111.4 kB / 437.3 MB, free: 388 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.3155, allocations: 3.938 kB / 437.3 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005853/0.3161, allocations: 244 kB / 437.5 MB, free: 136 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3161, allocations: 51.41 kB / 437.6 MB, free: 72 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.3164, allocations: 261 kB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3165, allocations: 29.7 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3166, allocations: 148.5 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.3166, allocations: 71.33 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.3167, allocations: 45.7 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3169, allocations: 334.8 kB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.317, allocations: 55.97 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3171, allocations: 83.34 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.3174, allocations: 150.7 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3174, allocations: 0 / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003588/0.3178, allocations: 205.4 kB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3178, allocations: 4 kB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3178, allocations: 7.938 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3178, allocations: 4 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.318, allocations: 43.98 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.318, allocations: 7.938 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.3181, allocations: 15.89 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3181, allocations: 15.92 kB / 439 MB, free: 14.55 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.0001472/0.3183, allocations: 145.9 kB / 439.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.3183, allocations: 23.84 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.3187, allocations: 207.7 kB / 439.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3187, allocations: 7.938 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3187, allocations: 0 / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3188, allocations: 0 / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.3191, allocations: 289.4 kB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3191, allocations: 0 / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3192, allocations: 31.98 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3192, allocations: 8 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3193, allocations: 4 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3193, allocations: 3.938 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3193, allocations: 4 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.3198, allocations: 287.5 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.3199, allocations: 93 kB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3199, allocations: 11.88 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.32, allocations: 12.05 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.32, allocations: 11.98 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.32, allocations: 8 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.3203, allocations: 192.5 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3203, allocations: 0 / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3206, allocations: 59.89 kB / 440.4 MB, free: 13.08 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 (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.001484/0.3221, allocations: 413.5 kB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.3224, allocations: 139.2 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3224, allocations: 0 / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3225, allocations: 67.91 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3229, allocations: 56.27 kB / 441 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.324, allocations: 0.5831 MB / 441.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3245, allocations: 0.744 MB / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.3246, allocations: 27.44 kB / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3246, allocations: 0 / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Templates: time 0.005868/0.3305, allocations: 3.222 MB / 445.6 MB, free: 7.934 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/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