Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 120.3 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 189.3 kB / 21.35 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 247 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 47.92 kB / 358.7 MB, free: 8.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1066, allocations: 49.44 MB / 408.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2155/0.3221, allocations: 26.95 MB / 435.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.3359, allocations: 8.045 MB / 443.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005534/0.3415, allocations: 197.5 kB / 443.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02094/0.3625, allocations: 9.367 MB / 452.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.3736, allocations: 3.304 MB / 456 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006693/0.3803, allocations: 1.81 MB / 457.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01853/0.3989, allocations: 12.15 MB / 470 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03801/0.4369, allocations: 24.38 MB / 494.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.4488, allocations: 6.441 MB / 0.489 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01287/0.4617, allocations: 7.168 MB / 0.496 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005425/0.4672, allocations: 1.84 MB / 0.4978 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.4773, allocations: 2.203 MB / 0.5 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006847/0.4842, allocations: 3.612 MB / 0.5035 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01424/0.4985, allocations: 6.915 MB / 0.5103 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03539/0.5339, allocations: 24.79 MB / 0.5345 GB, free: 388 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.534, allocations: 4 kB / 0.5345 GB, free: 384 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.534, allocations: 0 / 0.5345 GB, free: 384 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007367/0.5347, allocations: 4 kB / 0.5345 GB, free: 380 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0472/0.5819, allocations: 14.74 MB / 0.5489 GB, free: 1.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.582, allocations: 8.031 kB / 0.5489 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04713/0.6292, allocations: 8.545 MB / 0.5572 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/0.6496, allocations: 7.662 MB / 0.5647 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/0.6508, allocations: 0.8068 MB / 0.5655 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006063/0.6569, allocations: 1.059 MB / 0.5665 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05704/0.714, allocations: 18.29 MB / 0.5844 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008527/0.7149, allocations: 19.89 kB / 0.5844 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005453/0.7204, allocations: 447.9 kB / 0.5848 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000888/0.7213, allocations: 0.6749 MB / 0.5855 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04047/0.7618, allocations: 17.53 MB / 0.6026 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4449/1.207, allocations: 58.22 MB / 0.6595 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02449/1.231, allocations: 37.45 MB / 0.696 GB, free: 78.7 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005796/1.237, allocations: 4.104 MB / 0.7001 GB, free: 76.55 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/1.238, allocations: 194.9 kB / 0.7002 GB, free: 76.42 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.357e-05/1.238, allocations: 89.16 kB / 0.7003 GB, free: 76.34 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 8.125e-06/1.238, allocations: 0 / 0.7003 GB, free: 76.34 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.04363/1.282, allocations: 21.59 MB / 0.7214 GB, free: 58.93 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.282, allocations: 103.5 kB / 0.7215 GB, free: 58.81 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/1.287, allocations: 4.179 MB / 0.7256 GB, free: 54.66 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007133/1.288, allocations: 105.7 kB / 0.7257 GB, free: 54.55 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.29, allocations: 4.676 MB / 0.7303 GB, free: 50.46 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.291, allocations: 1.857 MB / 0.7321 GB, free: 48.62 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002523/1.294, allocations: 1.355 MB / 0.7334 GB, free: 47.26 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.505e-05/1.294, allocations: 309.1 kB / 0.7337 GB, free: 46.96 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00423/1.298, allocations: 3.445 MB / 0.7371 GB, free: 43.51 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005092/1.303, allocations: 5.881 MB / 0.7428 GB, free: 36.54 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.313, allocations: 10.02 MB / 0.7526 GB, free: 25.35 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-05/1.313, allocations: 24 kB / 0.7526 GB, free: 25.33 MB / 0.4982 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01695/1.33, allocations: 10.96 MB / 0.7633 GB, free: 14.27 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/1.331, allocations: 39.94 kB / 0.7633 GB, free: 14.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/1.331, allocations: 80 kB / 0.7634 GB, free: 14.16 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003409/1.334, allocations: 1.441 MB / 0.7648 GB, free: 12.71 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005179/1.339, allocations: 1.615 MB / 0.7664 GB, free: 11.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/1.353, allocations: 11.49 MB / 0.7776 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004725/1.358, allocations: 407.5 kB / 0.778 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.359, allocations: 343.8 kB / 0.7783 GB, free: 14.73 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006828/1.366, allocations: 4.166 MB / 0.7824 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.367, allocations: 0.4891 MB / 0.7829 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.382, allocations: 8.479 MB / 0.7912 GB, free: 1.473 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01158/1.393, allocations: 7.086 MB / 0.7981 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/1.394, allocations: 16 kB / 0.7981 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/1.394, allocations: 27.89 kB / 0.7981 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/1.424, allocations: 18.77 MB / 0.8165 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/1.424, allocations: 0 / 0.8165 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/1.427, allocations: 0.9362 MB / 0.8174 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/1.431, allocations: 1.301 MB / 0.8186 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000352/1.431, allocations: 112 kB / 0.8188 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2461/1.677, allocations: 10.19 MB / 0.8287 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.677, allocations: 2.25 kB / 0.8287 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/1.697, allocations: 12.29 MB / 0.8407 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/1.7, allocations: 1.179 MB / 0.8419 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009271/1.7, allocations: 98.86 kB / 0.842 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.703, allocations: 274.4 kB / 0.8422 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/1.704, allocations: 347.1 kB / 0.8425 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/1.704, allocations: 152.1 kB / 0.8427 GB, free: 174.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004364/1.708, allocations: 2.811 MB / 0.8454 GB, free: 173.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.31e-07/1.709, allocations: 0 / 0.8454 GB, free: 173.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008429/1.717, allocations: 1.939 MB / 0.8473 GB, free: 173.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/1.718, allocations: 302.5 kB / 0.8476 GB, free: 173.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.732, allocations: 8.761 MB / 0.8562 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.732, allocations: 0 / 0.8562 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007845/1.74, allocations: 4.197 MB / 0.8603 GB, free: 168.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/1.751, allocations: 1.13 MB / 0.8614 GB, free: 168.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/1.792, allocations: 19.16 MB / 0.8801 GB, free: 155.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007753/1.8, allocations: 6.801 MB / 0.8867 GB, free: 150.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002156/1.802, allocations: 464.9 kB / 0.8872 GB, free: 150.2 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/1.802, allocations: 0 / 0.8872 GB, free: 150.2 MB / 0.545 GB Notification: Performance of Templates: time 0.4703/2.272, allocations: 182.2 MB / 1.065 GB, free: 159.7 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.84925436892081]