Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000879/0.000879, allocations: 95.94 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009293/0.0009293, allocations: 200.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.2 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002168/0.0002168, allocations: 12 kB / 306.6 MB, free: 1.367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08333, allocations: 51.49 MB / 358.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1738/0.2571, allocations: 21.6 MB / 379.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.2713, allocations: 7.75 MB / 387.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004392/0.2757, allocations: 168.8 kB / 387.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0051/0.2809, allocations: 1.643 MB / 389.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008871/0.2897, allocations: 2.808 MB / 392.1 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.294, allocations: 1.306 MB / 393.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01793/0.3119, allocations: 10.92 MB / 404.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03312/0.3451, allocations: 19.62 MB / 423.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007253/0.3524, allocations: 4.354 MB / 428.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007331/0.3597, allocations: 4.786 MB / 433 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.3616, allocations: 0.7188 MB / 433.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.3658, allocations: 1.027 MB / 434.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.3685, allocations: 2.145 MB / 436.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004518/0.373, allocations: 2.313 MB / 439.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01976/0.3928, allocations: 20.9 MB / 460.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3928, allocations: 0 / 460.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3928, allocations: 0 / 460.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005451/0.3934, allocations: 0 / 460.2 MB, free: 6.402 MB / 366.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.03109/0.4245, allocations: 12.21 MB / 472.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4245, allocations: 8.031 kB / 472.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04513/0.4697, allocations: 8.285 MB / 480.7 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0156/0.4853, allocations: 7.384 MB / 488 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000683/0.486, allocations: 0.8028 MB / 488.8 MB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003236/0.4893, allocations: 1.058 MB / 489.9 MB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03721/0.5265, allocations: 18.14 MB / 0.4961 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002638/0.5268, allocations: 15.81 kB / 0.4961 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/0.5283, allocations: 444 kB / 0.4966 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005945/0.5289, allocations: 0.6749 MB / 0.4972 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03441/0.5633, allocations: 17.47 MB / 0.5143 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2811/0.8445, allocations: 59.94 MB / 0.5728 GB, free: 96.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/0.8682, allocations: 37.43 MB / 0.6094 GB, free: 60.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007781/0.8691, allocations: 282.8 kB / 0.6096 GB, free: 60.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/0.8691, allocations: 89.33 kB / 0.6097 GB, free: 60.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=524): time 7.654e-06/0.8691, allocations: 0 / 0.6097 GB, free: 60.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=530): time 0.0437/0.9129, allocations: 22.16 MB / 0.6314 GB, free: 46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.913, allocations: 111.5 kB / 0.6315 GB, free: 45.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/0.9185, allocations: 4.113 MB / 0.6355 GB, free: 41.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009038/0.9195, allocations: 109.7 kB / 0.6356 GB, free: 41.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.9214, allocations: 4.497 MB / 0.64 GB, free: 37.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001562/0.923, allocations: 1.793 MB / 0.6417 GB, free: 35.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/0.9234, allocations: 140 kB / 0.6419 GB, free: 35.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002964/0.9237, allocations: 0.5996 MB / 0.6425 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/0.9282, allocations: 3.473 MB / 0.6458 GB, free: 31.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005363/0.9336, allocations: 5.892 MB / 0.6516 GB, free: 24.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005795/0.9394, allocations: 4.794 MB / 0.6563 GB, free: 19.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.527e-05/0.9395, allocations: 24 kB / 0.6563 GB, free: 19.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01625/0.9558, allocations: 10.98 MB / 0.667 GB, free: 8.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/0.9559, allocations: 39.95 kB / 0.6671 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.956, allocations: 83.98 kB / 0.6671 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/0.9594, allocations: 1.402 MB / 0.6685 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005723/0.9651, allocations: 1.611 MB / 0.6701 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/0.9806, allocations: 10.9 MB / 0.6807 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/0.9867, allocations: 411.3 kB / 0.6811 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.9882, allocations: 340 kB / 0.6814 GB, free: 9.285 MB / 462.1 MB 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008988/0.9972, allocations: 4.165 MB / 0.6855 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/0.9985, allocations: 478.1 kB / 0.686 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.013, allocations: 8.566 MB / 0.6943 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01291/1.026, allocations: 7.152 MB / 0.7013 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-05/1.026, allocations: 12 kB / 0.7013 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.491e-05/1.026, allocations: 27.89 kB / 0.7014 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04553/1.072, allocations: 19.38 MB / 0.7203 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.902e-05/1.072, allocations: 7.984 kB / 0.7203 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004358/1.076, allocations: 0.9364 MB / 0.7212 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2032/1.28, allocations: 1.248 MB / 0.7224 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/1.281, allocations: 111.8 kB / 0.7225 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/1.296, allocations: 9.626 MB / 0.7319 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.296, allocations: 2.219 kB / 0.7319 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.315, allocations: 12.64 MB / 0.7443 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/1.318, allocations: 1.17 MB / 0.7454 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000769/1.318, allocations: 95.72 kB / 0.7455 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.321, allocations: 285.9 kB / 0.7458 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006797/1.322, allocations: 339 kB / 0.7461 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.322, allocations: 151.8 kB / 0.7463 GB, free: 154.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003615/1.325, allocations: 2.756 MB / 0.7489 GB, free: 153.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.325, allocations: 0 / 0.7489 GB, free: 153.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006618/1.332, allocations: 1.938 MB / 0.7508 GB, free: 152.9 MB / 494.1 MB 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006695/1.333, allocations: 317.3 kB / 0.7511 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/1.344, allocations: 8.79 MB / 0.7597 GB, free: 149.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.344, allocations: 6.469 kB / 0.7597 GB, free: 149.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00591/1.35, allocations: 4.22 MB / 0.7638 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004127/1.354, allocations: 1.002 MB / 0.7648 GB, free: 147.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/1.383, allocations: 22.99 MB / 0.7873 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006105/1.389, allocations: 7.18 MB / 0.7943 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005772/1.395, allocations: 2.321 MB / 0.7966 GB, free: 116.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.396, allocations: 415.4 kB / 0.797 GB, free: 116.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.396, allocations: 4 kB / 0.797 GB, free: 116.2 MB / 494.1 MB Notification: Performance of Templates: time 0.1076/1.504, allocations: 76.39 MB / 0.8716 GB, free: 40.24 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches