Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001401/0.001401, allocations: 79.73 kB / 21.97 MB, free: 2.59 MB / 18.57 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.0009603/0.0009603, allocations: 170 kB / 25.33 MB, free: 9.43 MB / 18.57 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.8797/0.8797, allocations: 158.6 MB / 187.2 MB, free: 2.523 MB / 170.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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.34e-05, allocations: 2.312 kB / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01952/0.01955, allocations: 24.42 MB / 275.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.03364, allocations: 7.299 MB / 282.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004552/0.03819, allocations: 183.1 kB / 283 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01162/0.04981, allocations: 9.42 MB / 292.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008285/0.0581, allocations: 3.104 MB / 295.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.06169, allocations: 1.742 MB / 297.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1473/0.209, allocations: 11.34 MB / 308.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0179/0.2269, allocations: 14.27 MB / 322.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009287/0.2362, allocations: 8.8 MB / 331.7 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006851/0.243, allocations: 6.298 MB / 337.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002898/0.2459, allocations: 1.676 MB / 339.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.2489, allocations: 2.051 MB / 341.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.2506, allocations: 3.332 MB / 345 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007768/0.2584, allocations: 4.416 MB / 349.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.2699, allocations: 10.52 MB / 359.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2699, allocations: 0 / 359.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2699, allocations: 0 / 359.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004262/0.2703, allocations: 0 / 359.9 MB, free: 5.453 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.02301/0.2933, allocations: 13.84 MB / 373.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.2934, allocations: 15.64 kB / 373.8 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02155/0.3149, allocations: 8.942 MB / 382.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.324, allocations: 5.792 MB / 388.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004778/0.3245, allocations: 0.7123 MB / 389.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.3264, allocations: 0.9462 MB / 390.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.3429, allocations: 8.473 MB / 398.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001607/0.3431, allocations: 7.953 kB / 398.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007195/0.3438, allocations: 397.1 kB / 399.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004965/0.3443, allocations: 0.5864 MB / 399.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.3552, allocations: 4.848 MB / 404.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3234/0.6786, allocations: 41.32 MB / 445.8 MB, free: 72.46 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/0.692, allocations: 9.943 MB / 455.8 MB, free: 72.03 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.694, allocations: 1.421 MB / 457.2 MB, free: 71.96 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008341/0.7023, allocations: 6.14 MB / 463.3 MB, free: 71.54 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.7023, allocations: 66.09 kB / 463.4 MB, free: 71.5 MB / 378.8 MB Notification: Performance of pre-optimization done (n=297): time 4.669e-06/0.7023, allocations: 0 / 463.4 MB, free: 71.5 MB / 378.8 MB Notification: Performance of matching and sorting (n=303): time 0.01661/0.719, allocations: 9.354 MB / 472.7 MB, free: 70.02 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.719, allocations: 82.72 kB / 472.8 MB, free: 69.96 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/0.7226, allocations: 3.467 MB / 476.3 MB, free: 69.51 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.7228, allocations: 79.11 kB / 476.4 MB, free: 69.48 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.7247, allocations: 4.66 MB / 481 MB, free: 67.44 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005426/0.7253, allocations: 1.125 MB / 482.1 MB, free: 66.75 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.7264, allocations: 1.217 MB / 483.4 MB, free: 66.64 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.7264, allocations: 484.2 kB / 483.8 MB, free: 66.17 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.7276, allocations: 0.8006 MB / 484.6 MB, free: 66.15 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.7299, allocations: 4.353 MB / 489 MB, free: 61.8 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/0.7339, allocations: 5.65 MB / 494.6 MB, free: 57.38 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-05/0.734, allocations: 23.72 kB / 494.7 MB, free: 57.38 MB / 378.8 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006479/0.7404, allocations: 5.179 MB / 499.8 MB, free: 56.95 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.7405, allocations: 37.34 kB / 499.9 MB, free: 56.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-05/0.7405, allocations: 80.31 kB / 500 MB, free: 56.95 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.7428, allocations: 1.141 MB / 0.4894 GB, free: 56.89 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.745, allocations: 1.216 MB / 0.4905 GB, free: 56.89 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.7516, allocations: 6.067 MB / 0.4965 GB, free: 54.68 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.7544, allocations: 323.2 kB / 0.4968 GB, free: 54.66 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.7547, allocations: 284 kB / 0.497 GB, free: 54.66 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002722/0.7574, allocations: 0.5304 MB / 0.4976 GB, free: 54.45 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008335/0.7583, allocations: 479.3 kB / 0.498 GB, free: 54.25 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/0.7643, allocations: 3.21 MB / 0.5012 GB, free: 53.44 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002995/0.7672, allocations: 2.265 MB / 0.5034 GB, free: 51.89 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.7673, allocations: 11.88 kB / 0.5034 GB, free: 51.89 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.7673, allocations: 15.19 kB / 0.5034 GB, free: 51.89 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.7807, allocations: 9.748 MB / 0.5129 GB, free: 45.61 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.7807, allocations: 4.406 kB / 0.5129 GB, free: 45.61 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.7819, allocations: 0.5535 MB / 0.5135 GB, free: 45.18 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.7838, allocations: 1.016 MB / 0.5144 GB, free: 44.43 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.7839, allocations: 71.36 kB / 0.5145 GB, free: 44.37 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/0.7893, allocations: 5.561 MB / 0.5199 GB, free: 39.05 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7893, allocations: 7.656 kB / 0.52 GB, free: 39.05 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/0.7948, allocations: 3.941 MB / 0.5238 GB, free: 35 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.7959, allocations: 0.7355 MB / 0.5245 GB, free: 34.27 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.7962, allocations: 63.69 kB / 0.5246 GB, free: 34.21 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008961/0.7971, allocations: 179.8 kB / 0.5248 GB, free: 34.03 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/0.7975, allocations: 234.3 kB / 0.525 GB, free: 33.8 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.7976, allocations: 99.97 kB / 0.5251 GB, free: 33.7 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001996/0.7996, allocations: 1.569 MB / 0.5266 GB, free: 32.14 MB / 378.8 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7996, allocations: 0 / 0.5266 GB, free: 32.14 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005385/0.805, allocations: 1.543 MB / 0.5281 GB, free: 30.6 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004955/0.8055, allocations: 237.2 kB / 0.5283 GB, free: 30.39 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005249/0.8107, allocations: 3.821 MB / 0.5321 GB, free: 26.77 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.8107, allocations: 4 kB / 0.5321 GB, free: 26.77 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.8129, allocations: 1.838 MB / 0.5339 GB, free: 24.97 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.8148, allocations: 0.8765 MB / 0.5347 GB, free: 24.12 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.831, allocations: 13.77 MB / 0.5482 GB, free: 10.22 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/0.8326, allocations: 2.599 MB / 0.5507 GB, free: 7.586 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002927/0.8355, allocations: 1.592 MB / 0.5523 GB, free: 5.988 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/0.8361, allocations: 300.4 kB / 0.5525 GB, free: 5.695 MB / 378.8 MB Notification: Performance of SimCode: time 3.016e-06/0.8361, allocations: 0 / 0.5525 GB, free: 5.695 MB / 378.8 MB Notification: Performance of Templates: time 0.2138/1.05, allocations: 57.03 MB / 0.6082 GB, free: 109.8 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.624145944137126]