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.0009815/0.0009816, allocations: 96.33 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001357, allocations: 211.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002083/0.0002084, allocations: 4 kB / 307.8 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08943, allocations: 51.53 MB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2164/0.3058, allocations: 25.37 MB / 384.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.3212, allocations: 8.02 MB / 392.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005137/0.3264, allocations: 182.7 kB / 392.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006221/0.3326, allocations: 1.958 MB / 394.8 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.3432, allocations: 3.027 MB / 397.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004742/0.348, allocations: 1.616 MB / 399.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01598/0.3639, allocations: 12.34 MB / 411.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04104/0.405, allocations: 24.07 MB / 435.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007758/0.4128, allocations: 4.585 MB / 440.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009791/0.4226, allocations: 5.54 MB / 446 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003889/0.4266, allocations: 0.7188 MB / 446.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.4326, allocations: 1.105 MB / 447.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003685/0.4363, allocations: 2.269 MB / 450.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.4464, allocations: 5.468 MB / 455.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02298/0.4694, allocations: 23.28 MB / 478.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4695, allocations: 0 / 478.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4695, allocations: 4 kB / 478.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004658/0.47, allocations: 0 / 478.8 MB, free: 3.773 MB / 382.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.03282/0.5028, allocations: 12.17 MB / 491 MB, free: 7.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5029, allocations: 8.031 kB / 491 MB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04741/0.5503, allocations: 8.481 MB / 499.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/0.5659, allocations: 7.476 MB / 0.4951 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000933/0.5669, allocations: 0.8146 MB / 0.4959 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003962/0.5709, allocations: 1.062 MB / 0.4969 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04477/0.6157, allocations: 18.31 MB / 0.5148 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004953/0.6162, allocations: 23.8 kB / 0.5148 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0034/0.6196, allocations: 451.9 kB / 0.5153 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007991/0.6204, allocations: 0.6633 MB / 0.5159 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03617/0.6566, allocations: 17.55 MB / 0.533 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5034/1.16, allocations: 60.02 MB / 0.5917 GB, free: 82.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02385/1.184, allocations: 37.45 MB / 0.6282 GB, free: 47.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006099/1.19, allocations: 4.162 MB / 0.6323 GB, free: 43.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/1.191, allocations: 273.6 kB / 0.6326 GB, free: 43.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.87e-05/1.191, allocations: 86.64 kB / 0.6326 GB, free: 42.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=524): time 8.406e-06/1.191, allocations: 3.984 kB / 0.6326 GB, free: 42.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=530): time 0.04875/1.24, allocations: 21.95 MB / 0.6541 GB, free: 20.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/1.24, allocations: 103.5 kB / 0.6542 GB, free: 20.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008106/1.248, allocations: 4.171 MB / 0.6582 GB, free: 16.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.249, allocations: 117.7 kB / 0.6584 GB, free: 16.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.251, allocations: 4.503 MB / 0.6628 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00202/1.253, allocations: 1.796 MB / 0.6645 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/1.255, allocations: 0.5525 MB / 0.6651 GB, free: 9.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/1.255, allocations: 309.1 kB / 0.6653 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005899/1.261, allocations: 3.477 MB / 0.6687 GB, free: 5.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00765/1.268, allocations: 5.932 MB / 0.6745 GB, free: 14.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/1.285, allocations: 10.11 MB / 0.6844 GB, free: 3.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.818e-05/1.285, allocations: 20 kB / 0.6844 GB, free: 3.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02399/1.309, allocations: 11.01 MB / 0.6952 GB, free: 8.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.309, allocations: 43.94 kB / 0.6952 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/1.309, allocations: 76 kB / 0.6953 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004171/1.313, allocations: 1.398 MB / 0.6967 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006769/1.32, allocations: 1.618 MB / 0.6982 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/1.338, allocations: 10.59 MB / 0.7086 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/1.344, allocations: 411.3 kB / 0.709 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.345, allocations: 340 kB / 0.7093 GB, free: 9.648 MB / 494.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 (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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008348/1.353, allocations: 4.169 MB / 0.7134 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/1.355, allocations: 482 kB / 0.7138 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2376/1.592, allocations: 8.548 MB / 0.7222 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01266/1.605, allocations: 7.152 MB / 0.7292 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/1.605, allocations: 15.69 kB / 0.7292 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-05/1.605, allocations: 30.61 kB / 0.7292 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.036/1.641, allocations: 19.42 MB / 0.7482 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.641, allocations: 7.562 kB / 0.7482 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00363/1.645, allocations: 0.9398 MB / 0.7491 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/1.648, allocations: 1.249 MB / 0.7503 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006971/1.649, allocations: 119.7 kB / 0.7504 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.662, allocations: 9.322 MB / 0.7595 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.662, allocations: 0.75 kB / 0.7595 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/1.681, allocations: 12.39 MB / 0.7716 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003238/1.684, allocations: 1.174 MB / 0.7728 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/1.686, allocations: 96 kB / 0.7729 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/1.689, allocations: 282.8 kB / 0.7731 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009582/1.69, allocations: 356.5 kB / 0.7735 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003059/1.69, allocations: 155.1 kB / 0.7736 GB, free: 134 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004125/1.695, allocations: 2.815 MB / 0.7764 GB, free: 131.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.695, allocations: 0 / 0.7764 GB, free: 131.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006377/1.701, allocations: 1.944 MB / 0.7783 GB, free: 129.7 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 (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.0006982/1.702, allocations: 305 kB / 0.7786 GB, free: 129.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.713, allocations: 8.805 MB / 0.7872 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.713, allocations: 6.734 kB / 0.7872 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00585/1.719, allocations: 4.229 MB / 0.7913 GB, free: 116.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/1.726, allocations: 1.07 MB / 0.7923 GB, free: 115.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/1.759, allocations: 24.1 MB / 0.8159 GB, free: 91.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005607/1.764, allocations: 7.021 MB / 0.8227 GB, free: 84.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006057/1.77, allocations: 2.309 MB / 0.825 GB, free: 82.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.772, allocations: 423.3 kB / 0.8254 GB, free: 81.74 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.772, allocations: 4 kB / 0.8254 GB, free: 81.73 MB / 494.1 MB Notification: Performance of Templates: time 0.3549/2.127, allocations: 78.72 MB / 0.9023 GB, free: 144.5 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","/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