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.001752/0.001752, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002177/0.002177, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.49/1.49, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.003163/0.003163, allocations: 55.91 kB / 378.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2863, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003832/0.2902, allocations: 2.271 MB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.2925, allocations: 1.251 MB / 435.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.2927, allocations: 4 kB / 435.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.2931, allocations: 91.5 kB / 435.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.2936, allocations: 163.1 kB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.2939, allocations: 115.6 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.2943, allocations: 294.8 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.2944, allocations: 73.08 kB / 436.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2946, allocations: 111.6 kB / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.2948, allocations: 139.4 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.2949, allocations: 16 kB / 436.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.295, allocations: 59.91 kB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.2951, allocations: 47.84 kB / 436.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.2952, allocations: 119.3 kB / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.2957, allocations: 292.3 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2957, allocations: 0 / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2957, allocations: 0 / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2957, allocations: 0 / 437 MB, free: 2.363 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.000927/0.2966, allocations: 0.5647 MB / 437.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2966, allocations: 8.031 kB / 437.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.2968, allocations: 36.75 kB / 437.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.2972, allocations: 263.8 kB / 437.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2972, allocations: 16.38 kB / 437.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.2973, allocations: 24.12 kB / 437.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.2976, allocations: 153.6 kB / 438.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2977, allocations: 3.984 kB / 438.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.2977, allocations: 11.94 kB / 438.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2977, allocations: 4 kB / 438.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.2979, allocations: 119.7 kB / 438.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.299, allocations: 0.5665 MB / 438.8 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.2993, allocations: 153.1 kB / 439 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.2995, allocations: 84.83 kB / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.2995, allocations: 352 / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.2999, allocations: 122.6 kB / 439.2 MB, free: 92 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/0.2999, allocations: 3.938 kB / 439.2 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007218/0.3006, allocations: 237.4 kB / 439.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3006, allocations: 51.41 kB / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.301, allocations: 265 kB / 439.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.301, allocations: 29.7 kB / 439.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3012, allocations: 144.5 kB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.3013, allocations: 71.41 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.3014, allocations: 49.67 kB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3016, allocations: 338.8 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3017, allocations: 47.97 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3019, allocations: 87.41 kB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.3023, allocations: 143.4 kB / 440.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3023, allocations: 0 / 440.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005092/0.3028, allocations: 205.4 kB / 440.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.3028, allocations: 8 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3028, allocations: 0 / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.3029, allocations: 7.984 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.3032, allocations: 43.92 kB / 440.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3032, allocations: 12.02 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.3033, allocations: 23.83 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3034, allocations: 7.984 kB / 440.9 MB, free: 14.27 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.0002065/0.3036, allocations: 144.8 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.3036, allocations: 23.86 kB / 441.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006161/0.3042, allocations: 203.7 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3043, allocations: 7.938 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3043, allocations: 0 / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3043, allocations: 3.984 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.3047, allocations: 293.4 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3047, allocations: 0 / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.3049, allocations: 31.98 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3049, allocations: 0 / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3049, allocations: 4 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3049, allocations: 7.938 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3049, allocations: 0 / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.3054, allocations: 296.7 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.3055, allocations: 97 kB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.3056, allocations: 11.88 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.3056, allocations: 7.984 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3057, allocations: 11.98 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3057, allocations: 4 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3059, allocations: 196.5 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3059, allocations: 4 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.3062, allocations: 55.89 kB / 442.3 MB, free: 12.8 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.001517/0.3077, allocations: 419.7 kB / 442.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.308, allocations: 131.8 kB / 442.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.308, allocations: 4 kB / 442.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3082, allocations: 63.91 kB / 442.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3086, allocations: 56.28 kB / 442.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3096, allocations: 0.5476 MB / 443.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.3101, allocations: 0.7519 MB / 444.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3102, allocations: 29.94 kB / 444.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.3102, allocations: 23.42 kB / 444.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3102, allocations: 0 / 444.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Templates: time 0.007132/0.3173, allocations: 2.78 MB / 447.1 MB, free: 8.145 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 -s cvode -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: 9.12902318732813]