Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001548/0.001548, allocations: 112.1 kB / 21.17 MB, free: 0.7422 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.001898/0.001898, allocations: 210.7 kB / 24.47 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.39/1.39, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.88 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2422, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003746/0.2459, allocations: 2.285 MB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.248, allocations: 1.235 MB / 435.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2481, allocations: 4 kB / 435.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.2484, allocations: 95.5 kB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.2488, allocations: 167 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2491, allocations: 115.6 kB / 435.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.2495, allocations: 294.8 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.2497, allocations: 77.02 kB / 436.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.2498, allocations: 115.6 kB / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2501, allocations: 127.5 kB / 436.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.2501, allocations: 20 kB / 436.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.2502, allocations: 51.98 kB / 436.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.2503, allocations: 59.77 kB / 436.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2504, allocations: 119.3 kB / 436.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.2508, allocations: 292.4 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2508, allocations: 0 / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2508, allocations: 3.938 kB / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2508, allocations: 0 / 437.1 MB, free: 2.324 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.0008515/0.2517, allocations: 0.5531 MB / 437.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2517, allocations: 12.03 kB / 437.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.2519, allocations: 36.73 kB / 437.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2522, allocations: 267.7 kB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2522, allocations: 16.36 kB / 437.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.2523, allocations: 20.12 kB / 437.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2526, allocations: 161.6 kB / 438.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2526, allocations: 4 kB / 438.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.2527, allocations: 4 kB / 438.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2527, allocations: 4 kB / 438.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.2529, allocations: 123.7 kB / 438.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008883/0.2538, allocations: 0.5625 MB / 438.8 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.2541, allocations: 158.5 kB / 439 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2543, allocations: 84.81 kB / 439 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.2543, allocations: 4.344 kB / 439 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.2545, allocations: 126.5 kB / 439.2 MB, free: 44 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.2545, allocations: 0 / 439.2 MB, free: 44 kB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005265/0.255, allocations: 229.4 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2551, allocations: 59.41 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2554, allocations: 257 kB / 439.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.2554, allocations: 29.7 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2555, allocations: 144.5 kB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.2555, allocations: 71.42 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.2556, allocations: 45.66 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2558, allocations: 338.8 kB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2559, allocations: 51.98 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.256, allocations: 87.33 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.2563, allocations: 143.4 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2563, allocations: 4 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003524/0.2566, allocations: 203.6 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2567, allocations: 6.969 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2567, allocations: 0 / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2567, allocations: 4 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2569, allocations: 51.91 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.2569, allocations: 7.938 kB / 440.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.257, allocations: 19.83 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.257, allocations: 4 kB / 440.9 MB, free: 14.25 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.0001449/0.2572, allocations: 150.5 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.2572, allocations: 23.86 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.2576, allocations: 203.8 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2576, allocations: 3.938 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2576, allocations: 0 / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2576, allocations: 4 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.2579, allocations: 285.4 kB / 441.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2579, allocations: 3.984 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.2581, allocations: 39.86 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2581, allocations: 4 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2581, allocations: 8 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2581, allocations: 3.938 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2581, allocations: 0 / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.2586, allocations: 283.1 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.2587, allocations: 101 kB / 442 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.2587, allocations: 15.88 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.2588, allocations: 4.062 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2588, allocations: 15.98 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.2589, allocations: 8 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.2591, allocations: 200.4 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2591, allocations: 0 / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.2593, allocations: 55.89 kB / 442.3 MB, free: 12.77 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.001423/0.2607, allocations: 413.5 kB / 442.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.2611, allocations: 139.8 kB / 442.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2611, allocations: 0 / 442.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2612, allocations: 67.91 kB / 442.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2615, allocations: 56.28 kB / 442.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2625, allocations: 0.579 MB / 443.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2629, allocations: 0.744 MB / 444.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.263, allocations: 31.42 kB / 444.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.263, allocations: 0 / 444.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Templates: time 0.005666/0.2687, allocations: 3.218 MB / 447.5 MB, free: 7.633 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 13.245991420932114]