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.001296/0.001296, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001488/0.001488, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.00326/0.00326, allocations: 67.89 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2843, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003985/0.2883, allocations: 2.271 MB / 434.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.2907, allocations: 1.25 MB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.2909, allocations: 7.938 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.2913, allocations: 87.5 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.2918, allocations: 167 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.2922, allocations: 115.6 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.2927, allocations: 298.8 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.2929, allocations: 76.77 kB / 436.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.2931, allocations: 111.6 kB / 436.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.2934, allocations: 135.4 kB / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.2934, allocations: 23.94 kB / 437 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2935, allocations: 51.97 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.2936, allocations: 55.83 kB / 437.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2938, allocations: 111.4 kB / 437.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.2942, allocations: 300 kB / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2942, allocations: 0 / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2942, allocations: 0 / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.2942, allocations: 8 kB / 437.5 MB, free: 1.711 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.001044/0.2953, allocations: 493.2 kB / 437.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2953, allocations: 8.031 kB / 438 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.2955, allocations: 32.75 kB / 438 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.2959, allocations: 206 kB / 438.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2959, allocations: 16.38 kB / 438.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.296, allocations: 16.38 kB / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.2963, allocations: 165.8 kB / 438.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.2963, allocations: 0 / 438.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.2964, allocations: 8 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2964, allocations: 8 kB / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.2966, allocations: 111.7 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/0.2975, allocations: 0.5266 MB / 439 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.2979, allocations: 165.4 kB / 439.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.298, allocations: 80.83 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2981, allocations: 4.344 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.2983, allocations: 126 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.2983, allocations: 0 / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005208/0.2988, allocations: 229.4 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.2989, allocations: 59.41 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.2992, allocations: 256.9 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2992, allocations: 29.7 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2993, allocations: 148.3 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.2994, allocations: 75.42 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.2994, allocations: 41.67 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2996, allocations: 342.8 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2997, allocations: 47.97 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2999, allocations: 84.06 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.3001, allocations: 150.9 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3001, allocations: 4 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003733/0.3005, allocations: 205.3 kB / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3005, allocations: 8 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3005, allocations: 0 / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3005, allocations: 4 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.3008, allocations: 44.08 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3008, allocations: 7.875 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3009, allocations: 31.8 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.3009, allocations: 8 kB / 441.1 MB, free: 13.84 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.0001478/0.3011, allocations: 138.3 kB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3011, allocations: 23.86 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.3015, allocations: 210.4 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3015, allocations: 4 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3015, allocations: 4 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3015, allocations: 7.922 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.3018, allocations: 256.5 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3018, allocations: 0 / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.302, allocations: 35.98 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.302, allocations: 0 / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.3021, allocations: 7.984 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3021, allocations: 7.875 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3021, allocations: 0 / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.3026, allocations: 284.8 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.3026, allocations: 19.89 kB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.3027, allocations: 4 kB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.3027, allocations: 15.92 kB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3028, allocations: 7.984 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3028, allocations: 11.98 kB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.303, allocations: 192.5 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.303, allocations: 0 / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.3033, allocations: 63.83 kB / 442.4 MB, free: 12.49 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.001551/0.3049, allocations: 410.6 kB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.3052, allocations: 130.8 kB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3052, allocations: 0 / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3053, allocations: 67.91 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3057, allocations: 57.25 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3068, allocations: 0.5774 MB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3072, allocations: 0.7558 MB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.3072, allocations: 27.38 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3072, allocations: 0 / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Templates: time 0.005831/0.3131, allocations: 3.222 MB / 447.6 MB, free: 7.348 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 [Calling sys.exit(0), Time elapsed: 14.143180636921898]