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.IMC_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.001328/0.001328, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001375/0.001375, allocations: 138.6 kB / 24.97 MB, free: 9.309 MB / 18.57 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 0.9017/0.9017, allocations: 173.3 MB / 201.5 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 179] 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 268.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.103e-05, allocations: 2.312 kB / 268.1 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1612/0.1612, allocations: 24.19 MB / 292.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.1752, allocations: 7.269 MB / 299.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005214/0.1804, allocations: 222.5 kB / 299.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01231/0.1927, allocations: 9.384 MB / 309.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.2031, allocations: 3.049 MB / 312.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.2071, allocations: 1.727 MB / 313.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.2176, allocations: 11.18 MB / 325.1 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02014/0.2377, allocations: 14.23 MB / 339.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01545/0.2532, allocations: 8.686 MB / 348 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009023/0.2622, allocations: 6.028 MB / 354.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003649/0.2658, allocations: 1.668 MB / 355.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/0.2708, allocations: 2.046 MB / 357.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.2735, allocations: 3.261 MB / 361 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008204/0.2817, allocations: 4.133 MB / 365.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.2966, allocations: 10.39 MB / 375.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.2966, allocations: 7.984 kB / 375.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2966, allocations: 0 / 375.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004947/0.2971, allocations: 0 / 375.6 MB, free: 15.31 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02478/0.3219, allocations: 13.64 MB / 389.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3219, allocations: 8.922 kB / 389.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02292/0.3448, allocations: 7.816 MB / 397 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.3549, allocations: 6.681 MB / 403.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005616/0.3555, allocations: 0.6985 MB / 404.4 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/0.3581, allocations: 0.9295 MB / 405.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.3817, allocations: 8.252 MB / 413.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.382, allocations: 7.953 kB / 413.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/0.3833, allocations: 388 kB / 414 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004052/0.3837, allocations: 0.5547 MB / 414.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.399, allocations: 4.568 MB / 419.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2857/0.6847, allocations: 40.73 MB / 459.8 MB, free: 100.2 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009523/0.6942, allocations: 7.961 MB / 467.8 MB, free: 99.82 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/0.6965, allocations: 1.341 MB / 469.1 MB, free: 99.77 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.6968, allocations: 98.62 kB / 469.2 MB, free: 99.76 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/0.6968, allocations: 79.52 kB / 469.3 MB, free: 99.71 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 7.184e-06/0.6968, allocations: 0 / 469.3 MB, free: 99.71 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.02055/0.7174, allocations: 10.28 MB / 479.6 MB, free: 97.53 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.7174, allocations: 91.92 kB / 479.7 MB, free: 97.46 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/0.721, allocations: 3.292 MB / 483 MB, free: 94.69 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005654/0.7216, allocations: 93.7 kB / 483.1 MB, free: 94.59 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.7233, allocations: 4.36 MB / 487.4 MB, free: 90.73 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/0.7247, allocations: 1.476 MB / 488.9 MB, free: 89.27 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.7259, allocations: 1.261 MB / 490.2 MB, free: 88 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.7259, allocations: 480.8 kB / 490.6 MB, free: 87.52 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.7274, allocations: 0.8703 MB / 491.5 MB, free: 86.65 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.7298, allocations: 4.123 MB / 495.6 MB, free: 81.16 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.7349, allocations: 5.487 MB / 0.4894 GB, free: 74.31 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.691e-05/0.735, allocations: 24 kB / 0.4894 GB, free: 74.29 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.007989/0.743, allocations: 5.306 MB / 0.4946 GB, free: 68.96 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.7431, allocations: 36 kB / 0.4946 GB, free: 68.93 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.838e-05/0.7432, allocations: 72 kB / 0.4947 GB, free: 68.86 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.7455, allocations: 1.12 MB / 0.4958 GB, free: 67.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/0.7485, allocations: 1.318 MB / 0.4971 GB, free: 66.41 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/0.7552, allocations: 6.049 MB / 0.503 GB, free: 60.25 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.7583, allocations: 327.5 kB / 0.5033 GB, free: 59.93 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000842/0.7592, allocations: 284 kB / 0.5035 GB, free: 59.65 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002241/0.7614, allocations: 0.5297 MB / 0.5041 GB, free: 59.11 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009812/0.7624, allocations: 0.517 MB / 0.5046 GB, free: 58.59 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005246/0.7676, allocations: 3.68 MB / 0.5082 GB, free: 54.87 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003649/0.7713, allocations: 2.65 MB / 0.5107 GB, free: 52.2 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.7713, allocations: 16 kB / 0.5108 GB, free: 52.18 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.7713, allocations: 19.92 kB / 0.5108 GB, free: 52.16 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.787, allocations: 11.29 MB / 0.5218 GB, free: 40.77 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.787, allocations: 7.984 kB / 0.5218 GB, free: 40.76 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.7885, allocations: 0.7144 MB / 0.5225 GB, free: 40.05 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.7905, allocations: 1.02 MB / 0.5235 GB, free: 39.02 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.7907, allocations: 91.97 kB / 0.5236 GB, free: 38.93 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005687/0.7964, allocations: 5.573 MB / 0.529 GB, free: 33.25 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7964, allocations: 11.94 kB / 0.529 GB, free: 33.24 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006569/0.803, allocations: 4.661 MB / 0.5336 GB, free: 28.44 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/0.8045, allocations: 0.8173 MB / 0.5344 GB, free: 27.62 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/0.8049, allocations: 83.92 kB / 0.5345 GB, free: 27.54 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.8059, allocations: 195.8 kB / 0.5347 GB, free: 27.35 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/0.8064, allocations: 307.1 kB / 0.535 GB, free: 27.05 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.8066, allocations: 116 kB / 0.5351 GB, free: 26.93 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00184/0.8084, allocations: 1.506 MB / 0.5365 GB, free: 25.43 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8084, allocations: 0 / 0.5365 GB, free: 25.43 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003991/0.8124, allocations: 1.605 MB / 0.5381 GB, free: 23.83 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005022/0.8129, allocations: 290.1 kB / 0.5384 GB, free: 23.54 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006247/0.8192, allocations: 4.084 MB / 0.5424 GB, free: 19.43 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.8192, allocations: 3.938 kB / 0.5424 GB, free: 19.42 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002993/0.8222, allocations: 2.115 MB / 0.5444 GB, free: 17.29 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/0.8253, allocations: 0.8957 MB / 0.5453 GB, free: 16.43 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.8449, allocations: 13.87 MB / 0.5589 GB, free: 2.371 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.8474, allocations: 2.595 MB / 0.5614 GB, free: 15.74 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003408/0.8508, allocations: 1.61 MB / 0.563 GB, free: 14.12 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/0.8517, allocations: 340.4 kB / 0.5633 GB, free: 13.79 MB / 394.8 MB Notification: Performance of SimCode: time 2.064e-06/0.8517, allocations: 0 / 0.5633 GB, free: 13.79 MB / 394.8 MB Notification: Performance of Templates: time 0.1954/1.047, allocations: 59.74 MB / 0.6216 GB, free: 100.4 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801766881952062]