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.001633/0.001633, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002029/0.002029, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 8.07 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.001967/0.001967, allocations: 68.77 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.276, allocations: 53.37 MB / 432.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004528/0.2805, allocations: 2.284 MB / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.283, allocations: 1.251 MB / 435.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.2832, allocations: 4 kB / 435.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.2836, allocations: 95.5 kB / 436 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.2842, allocations: 163.1 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.2845, allocations: 115.6 kB / 436.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.285, allocations: 294.8 kB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.2852, allocations: 72.7 kB / 436.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.2854, allocations: 123.5 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2857, allocations: 127.5 kB / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.2857, allocations: 16 kB / 436.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.2859, allocations: 51.98 kB / 437 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.286, allocations: 67.69 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.2861, allocations: 119.4 kB / 437.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.2866, allocations: 292.5 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2866, allocations: 0 / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2866, allocations: 0 / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.2866, allocations: 0 / 437.4 MB, free: 1.93 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.0009643/0.2876, allocations: 489.2 kB / 437.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2876, allocations: 15.97 kB / 437.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.2878, allocations: 28.75 kB / 438 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.2882, allocations: 213.9 kB / 438.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2882, allocations: 12.38 kB / 438.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.2883, allocations: 28.11 kB / 438.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.2886, allocations: 153.6 kB / 438.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2887, allocations: 0 / 438.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.2887, allocations: 8 kB / 438.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2887, allocations: 8 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.289, allocations: 119.7 kB / 438.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.29, allocations: 0.5343 MB / 439 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.2904, allocations: 153.2 kB / 439.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.2905, allocations: 80.83 kB / 439.2 MB, free: 0 / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.2906, allocations: 4.391 kB / 439.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.2908, allocations: 123.2 kB / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.2908, allocations: 0 / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005728/0.2914, allocations: 228 kB / 439.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.2914, allocations: 59.39 kB / 439.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.2918, allocations: 261 kB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2918, allocations: 29.7 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2919, allocations: 148.3 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.292, allocations: 75.41 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.292, allocations: 45.66 kB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2922, allocations: 338.8 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2923, allocations: 51.92 kB / 440.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.2925, allocations: 83.41 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.2928, allocations: 149 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2928, allocations: 4 kB / 440.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003771/0.2931, allocations: 203.7 kB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2932, allocations: 4 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2932, allocations: 0 / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2932, allocations: 4 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2934, allocations: 51.91 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2934, allocations: 7.938 kB / 441.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2935, allocations: 15.89 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2936, allocations: 4 kB / 441.1 MB, free: 14.06 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.0001523/0.2937, allocations: 145.8 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.2938, allocations: 31.92 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.2942, allocations: 199.7 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.2942, allocations: 11.86 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2942, allocations: 0 / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2942, allocations: 4 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2945, allocations: 256.5 kB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2945, allocations: 0 / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2947, allocations: 39.86 kB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.2947, allocations: 4 kB / 441.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2947, allocations: 7.984 kB / 441.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2947, allocations: 7.938 kB / 441.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2947, allocations: 0 / 441.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.2953, allocations: 283.8 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.2953, allocations: 15.89 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.2953, allocations: 15.92 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.2954, allocations: 0 / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.2955, allocations: 19.92 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2955, allocations: 12.05 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.2957, allocations: 192.5 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2957, allocations: 0 / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.296, allocations: 63.81 kB / 442.4 MB, free: 12.7 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.00159/0.2976, allocations: 409.9 kB / 442.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.298, allocations: 131.8 kB / 442.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.298, allocations: 4.188 kB / 442.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.2981, allocations: 71.84 kB / 443 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2985, allocations: 51.16 kB / 443 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2996, allocations: 0.5368 MB / 443.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3, allocations: 0.748 MB / 444.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3001, allocations: 37.86 kB / 444.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3002, allocations: 27.42 kB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3002, allocations: 0 / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Templates: time 0.007731/0.3079, allocations: 2.839 MB / 447.2 MB, free: 7.984 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/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_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: 8.578892395831645]