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.00145/0.00145, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.86 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3043, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02994/0.3343, allocations: 26.99 MB / 436.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.351, allocations: 8.152 MB / 444.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004971/0.356, allocations: 199.4 kB / 444.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02074/0.3768, allocations: 9.438 MB / 454.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.389, allocations: 3.361 MB / 457.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00678/0.3958, allocations: 1.83 MB / 459.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01617/0.412, allocations: 12.24 MB / 471.5 MB, free: 3.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0391/0.4511, allocations: 24.37 MB / 495.9 MB, free: 10.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01522/0.4664, allocations: 6.48 MB / 0.4906 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/0.4813, allocations: 7.207 MB / 0.4976 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006735/0.488, allocations: 1.84 MB / 0.4994 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008318/0.4964, allocations: 2.23 MB / 0.5016 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006219/0.5027, allocations: 3.609 MB / 0.5051 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01543/0.5181, allocations: 6.923 MB / 0.5119 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03649/0.5546, allocations: 24.75 MB / 0.536 GB, free: 5.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.5547, allocations: 7.922 kB / 0.5361 GB, free: 5.391 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5547, allocations: 0 / 0.5361 GB, free: 5.391 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008053/0.5555, allocations: 0 / 0.5361 GB, free: 5.391 MB / 462.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.4478/1.003, allocations: 14.51 MB / 0.5502 GB, free: 108.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.003, allocations: 7.938 kB / 0.5502 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07234/1.076, allocations: 8.498 MB / 0.5585 GB, free: 103.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/1.097, allocations: 7.652 MB / 0.566 GB, free: 95.87 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007929/1.097, allocations: 0.8029 MB / 0.5668 GB, free: 95.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005256/1.103, allocations: 1.054 MB / 0.5678 GB, free: 94.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05268/1.155, allocations: 18.29 MB / 0.5857 GB, free: 75.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006079/1.156, allocations: 19.81 kB / 0.5857 GB, free: 75.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004125/1.16, allocations: 455.1 kB / 0.5861 GB, free: 75.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006544/1.161, allocations: 0.666 MB / 0.5868 GB, free: 74.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/1.193, allocations: 17.54 MB / 0.6039 GB, free: 57.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08946/1.282, allocations: 59.19 MB / 0.6617 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03639/1.319, allocations: 37.46 MB / 0.6983 GB, free: 3.012 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007411/1.326, allocations: 4.109 MB / 0.7023 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/1.327, allocations: 278.1 kB / 0.7026 GB, free: 14.57 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.979e-05/1.327, allocations: 82.62 kB / 0.7027 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 9.547e-06/1.327, allocations: 0 / 0.7027 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05691/1.384, allocations: 21.46 MB / 0.7236 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.384, allocations: 103.5 kB / 0.7237 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.394, allocations: 4.187 MB / 0.7278 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.396, allocations: 109.7 kB / 0.7279 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003486/1.399, allocations: 4.509 MB / 0.7323 GB, free: 15.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002717/1.402, allocations: 1.772 MB / 0.734 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004565/1.406, allocations: 1.351 MB / 0.7354 GB, free: 12.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.407, allocations: 313.1 kB / 0.7357 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006532/1.413, allocations: 3.438 MB / 0.739 GB, free: 8.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008199/1.421, allocations: 5.881 MB / 0.7448 GB, free: 1.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.275/1.696, allocations: 10.02 MB / 0.7545 GB, free: 179 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.868e-05/1.696, allocations: 19.78 kB / 0.7546 GB, free: 179 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01603/1.713, allocations: 10.95 MB / 0.7652 GB, free: 174.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/1.713, allocations: 38.91 kB / 0.7653 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/1.713, allocations: 77.25 kB / 0.7654 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/1.716, allocations: 1.447 MB / 0.7668 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005502/1.722, allocations: 1.612 MB / 0.7683 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.736, allocations: 11.48 MB / 0.7796 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/1.741, allocations: 413.4 kB / 0.7799 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008677/1.742, allocations: 334 kB / 0.7803 GB, free: 168.3 MB / 0.545 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.007711/1.75, allocations: 4.168 MB / 0.7843 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009042/1.75, allocations: 474 kB / 0.7848 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.762, allocations: 8.476 MB / 0.7931 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009073/1.771, allocations: 7.09 MB / 0.8 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/1.771, allocations: 15.84 kB / 0.8 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/1.771, allocations: 29.25 kB / 0.8 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/1.797, allocations: 18.76 MB / 0.8184 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.797, allocations: 288 / 0.8184 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003454/1.8, allocations: 0.9401 MB / 0.8193 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/1.804, allocations: 1.297 MB / 0.8205 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/1.804, allocations: 122.3 kB / 0.8207 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.816, allocations: 10.17 MB / 0.8306 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.816, allocations: 3.938 kB / 0.8306 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.831, allocations: 12.27 MB / 0.8426 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.833, allocations: 1.159 MB / 0.8437 GB, free: 107.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/1.833, allocations: 95.98 kB / 0.8438 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.836, allocations: 271.8 kB / 0.8441 GB, free: 107.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006452/1.836, allocations: 348.4 kB / 0.8444 GB, free: 107.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002838/1.837, allocations: 148 kB / 0.8445 GB, free: 107.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003194/1.84, allocations: 2.819 MB / 0.8473 GB, free: 104.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.21e-07/1.84, allocations: 4 kB / 0.8473 GB, free: 104.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005174/1.845, allocations: 1.939 MB / 0.8492 GB, free: 102.3 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.0005524/1.845, allocations: 303.1 kB / 0.8495 GB, free: 102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.856, allocations: 8.74 MB / 0.858 GB, free: 93.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.856, allocations: 4 kB / 0.858 GB, free: 93.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005267/1.862, allocations: 4.183 MB / 0.8621 GB, free: 88.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004128/1.866, allocations: 1.14 MB / 0.8632 GB, free: 87.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02552/1.891, allocations: 19.2 MB / 0.882 GB, free: 68.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005624/1.897, allocations: 7.009 MB / 0.8888 GB, free: 61.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005285/1.902, allocations: 2.313 MB / 0.8911 GB, free: 59.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.904, allocations: 419.3 kB / 0.8915 GB, free: 58.8 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/1.904, allocations: 0 / 0.8915 GB, free: 58.8 MB / 0.545 GB Notification: Performance of Templates: time 0.3208/2.224, allocations: 79.15 MB / 0.9687 GB, free: 189 MB / 0.5607 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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