Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001732/0.002895, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003707/0.00483, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9416/0.9416, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2207/1.162, allocations: 49.49 MB / 220.6 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 221.8 MB, free: 204 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.789e-05, allocations: 6.25 kB / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.00287/0.002888, allocations: 2.288 MB / 224.1 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.004368, allocations: 0.9826 MB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.00449, allocations: 4 kB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.004753, allocations: 99.38 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.00503, allocations: 135.1 kB / 225.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.005349, allocations: 123.6 kB / 225.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.005665, allocations: 294.6 kB / 225.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005815, allocations: 66.53 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.006054, allocations: 191.6 kB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.00621, allocations: 95.77 kB / 226.1 MB, free: 11.9 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.00624, allocations: 20 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.006381, allocations: 59.84 kB / 226.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.00644, allocations: 39.88 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.006517, allocations: 67.88 kB / 226.3 MB, free: 11.72 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.006789, allocations: 199.2 kB / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.006804, allocations: 0 / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006805, allocations: 4 kB / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.006818, allocations: 0 / 226.5 MB, free: 11.52 MB / 234.7 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.0006377/0.007456, allocations: 0.5074 MB / 227 MB, free: 10.99 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.007485, allocations: 8.031 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.007644, allocations: 118 kB / 227.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.007841, allocations: 170.4 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.007861, allocations: 12.38 kB / 227.3 MB, free: 10.64 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.00789, allocations: 20.33 kB / 227.3 MB, free: 10.62 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.008078, allocations: 133.7 kB / 227.4 MB, free: 10.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.008089, allocations: 3.938 kB / 227.4 MB, free: 10.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.008102, allocations: 4 kB / 227.4 MB, free: 10.47 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.008109, allocations: 4 kB / 227.4 MB, free: 10.47 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.008214, allocations: 55.53 kB / 227.5 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.008731, allocations: 365.3 kB / 227.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.008899, allocations: 149.2 kB / 228 MB, free: 9.883 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.008954, allocations: 40.83 kB / 228 MB, free: 9.84 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.008967, allocations: 0 / 228 MB, free: 9.84 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.009097, allocations: 106.4 kB / 228.1 MB, free: 9.723 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.009099, allocations: 0 / 228.1 MB, free: 9.723 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002018/0.009301, allocations: 117.6 kB / 228.2 MB, free: 9.602 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.009331, allocations: 59.34 kB / 228.3 MB, free: 9.531 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.009479, allocations: 217.2 kB / 228.5 MB, free: 9.305 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.009499, allocations: 29.7 kB / 228.5 MB, free: 9.27 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.00956, allocations: 128.3 kB / 228.7 MB, free: 9.141 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.00961, allocations: 67.42 kB / 228.7 MB, free: 9.074 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.009665, allocations: 45.69 kB / 228.8 MB, free: 9.023 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.009754, allocations: 338.7 kB / 229.1 MB, free: 8.684 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.009791, allocations: 22.81 kB / 229.1 MB, free: 8.66 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.009847, allocations: 55.34 kB / 229.2 MB, free: 8.594 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.009958, allocations: 112.8 kB / 229.3 MB, free: 8.469 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00996, allocations: 0 / 229.3 MB, free: 8.469 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001612/0.01012, allocations: 116.4 kB / 229.4 MB, free: 8.348 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01014, allocations: 7.938 kB / 229.4 MB, free: 8.34 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01014, allocations: 4 kB / 229.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.01015, allocations: 0 / 229.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.01036, allocations: 59.91 kB / 229.5 MB, free: 8.277 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01036, allocations: 8.094 kB / 229.5 MB, free: 8.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.01043, allocations: 11.89 kB / 229.5 MB, free: 8.258 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01044, allocations: 8 kB / 229.5 MB, free: 8.25 MB / 234.7 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 8.575e-05/0.01052, allocations: 132.6 kB / 229.6 MB, free: 8.109 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.01056, allocations: 19.92 kB / 229.7 MB, free: 8.09 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.01074, allocations: 127.3 kB / 229.8 MB, free: 7.965 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.01074, allocations: 4 kB / 229.8 MB, free: 7.961 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01074, allocations: 3.938 kB / 229.8 MB, free: 7.957 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01075, allocations: 3.984 kB / 229.8 MB, free: 7.953 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.0109, allocations: 137.8 kB / 229.9 MB, free: 7.801 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.0109, allocations: 4 kB / 229.9 MB, free: 7.797 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.01107, allocations: 45.94 kB / 230 MB, free: 7.754 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.01109, allocations: 19.84 kB / 230 MB, free: 7.734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.0111, allocations: 0 / 230 MB, free: 7.734 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01111, allocations: 7.984 kB / 230 MB, free: 7.727 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01112, allocations: 11.92 kB / 230 MB, free: 7.715 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01112, allocations: 0 / 230 MB, free: 7.715 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.01133, allocations: 178.9 kB / 230.2 MB, free: 7.52 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.01136, allocations: 8 kB / 230.2 MB, free: 7.512 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.01141, allocations: 8 kB / 230.2 MB, free: 7.504 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.01144, allocations: 20 kB / 230.2 MB, free: 7.484 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.01146, allocations: 0 / 230.2 MB, free: 7.484 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.277e-05/0.01153, allocations: 75.92 kB / 230.3 MB, free: 7.406 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01153, allocations: 0 / 230.3 MB, free: 7.406 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.01175, allocations: 63.83 kB / 230.4 MB, free: 7.344 MB / 234.7 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 (22): * Single equations (assignments): 20 * 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.001445/0.01319, allocations: 0.557 MB / 230.9 MB, free: 6.816 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.01335, allocations: 93 kB / 231 MB, free: 6.723 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.01336, allocations: 8.062 kB / 231 MB, free: 6.715 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.01343, allocations: 52.77 kB / 231.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.01362, allocations: 67.83 kB / 231.1 MB, free: 6.594 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.01669, allocations: 454.7 kB / 231.6 MB, free: 6.125 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.88e-05/0.01675, allocations: 87.97 kB / 231.7 MB, free: 6.02 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.19e-05/0.01684, allocations: 21.94 kB / 231.7 MB, free: 5.992 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.01695, allocations: 91.34 kB / 231.8 MB, free: 5.902 MB / 234.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01695, allocations: 0 / 231.8 MB, free: 5.902 MB / 234.7 MB Notification: Performance of Templates: time 0.005811/0.02276, allocations: 3.036 MB / 234.8 MB, free: 2.859 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.92310936935246]