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.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 103.2 kB / 17.06 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 196 kB / 18 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009414/0.0009414, allocations: 47.92 kB / 351.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2676, allocations: 49.43 MB / 400.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02834/0.296, allocations: 26.96 MB / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.3137, allocations: 8.047 MB / 435.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005195/0.3189, allocations: 199.4 kB / 436 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02015/0.339, allocations: 9.351 MB / 445.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.3499, allocations: 3.311 MB / 448.6 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005517/0.3554, allocations: 1.816 MB / 450.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01476/0.3702, allocations: 12.14 MB / 462.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03889/0.4091, allocations: 24.38 MB / 487 MB, free: 2.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.4224, allocations: 6.464 MB / 493.4 MB, free: 11.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/0.4349, allocations: 7.164 MB / 0.4889 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006315/0.4413, allocations: 1.84 MB / 0.4907 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008619/0.4499, allocations: 2.203 MB / 0.4928 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005803/0.4558, allocations: 3.609 MB / 0.4963 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01206/0.4679, allocations: 6.915 MB / 0.5031 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03025/0.4981, allocations: 24.74 MB / 0.5272 GB, free: 13.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4982, allocations: 0 / 0.5272 GB, free: 13.17 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.858e-06/0.4982, allocations: 0 / 0.5272 GB, free: 13.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007233/0.4989, allocations: 3.938 kB / 0.5272 GB, free: 13.17 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.4281/0.927, allocations: 14.48 MB / 0.5414 GB, free: 114.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.9271, allocations: 9.5 kB / 0.5414 GB, free: 114.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04474/0.9719, allocations: 8.488 MB / 0.5497 GB, free: 112.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/0.986, allocations: 7.645 MB / 0.5572 GB, free: 107.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004088/0.9864, allocations: 0.8062 MB / 0.5579 GB, free: 107.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/0.9888, allocations: 1.054 MB / 0.559 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/1.016, allocations: 18.29 MB / 0.5768 GB, free: 87.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.016, allocations: 17.17 kB / 0.5768 GB, free: 87.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/1.017, allocations: 454.1 kB / 0.5773 GB, free: 87.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004584/1.018, allocations: 0.6672 MB / 0.5779 GB, free: 86.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/1.044, allocations: 17.54 MB / 0.5951 GB, free: 69.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07865/1.122, allocations: 58.06 MB / 0.6518 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02808/1.151, allocations: 37.47 MB / 0.6884 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00749/1.158, allocations: 4.103 MB / 0.6924 GB, free: 12.48 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/1.159, allocations: 204.9 kB / 0.6926 GB, free: 12.26 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/1.159, allocations: 90.62 kB / 0.6926 GB, free: 12.16 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 1.109e-05/1.159, allocations: 3.938 kB / 0.6926 GB, free: 12.15 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.0525/1.212, allocations: 21.43 MB / 0.7136 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.212, allocations: 103.5 kB / 0.7137 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007035/1.219, allocations: 4.175 MB / 0.7177 GB, free: 2.148 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007191/1.219, allocations: 113.7 kB / 0.7179 GB, free: 2.031 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002995/1.222, allocations: 4.509 MB / 0.7223 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001968/1.224, allocations: 1.779 MB / 0.724 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003084/1.227, allocations: 1.347 MB / 0.7253 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.228, allocations: 305.1 kB / 0.7256 GB, free: 10 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005647/1.233, allocations: 3.441 MB / 0.729 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00727/1.241, allocations: 5.885 MB / 0.7347 GB, free: 15.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/1.254, allocations: 10.01 MB / 0.7445 GB, free: 4.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.725e-05/1.254, allocations: 24 kB / 0.7445 GB, free: 4.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.216/1.47, allocations: 10.94 MB / 0.7552 GB, free: 188.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/1.47, allocations: 39.47 kB / 0.7552 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/1.47, allocations: 81.72 kB / 0.7553 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/1.474, allocations: 1.441 MB / 0.7567 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005324/1.479, allocations: 1.609 MB / 0.7583 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.493, allocations: 11.49 MB / 0.7695 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/1.498, allocations: 408.1 kB / 0.7699 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007995/1.499, allocations: 333 kB / 0.7702 GB, free: 182.5 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.005426/1.504, allocations: 4.16 MB / 0.7743 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000904/1.505, allocations: 470.8 kB / 0.7747 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.518, allocations: 8.484 MB / 0.783 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009105/1.527, allocations: 7.08 MB / 0.7899 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.527, allocations: 12 kB / 0.7899 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/1.527, allocations: 34.23 kB / 0.79 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02876/1.556, allocations: 18.76 MB / 0.8083 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.556, allocations: 4 kB / 0.8083 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/1.559, allocations: 0.9362 MB / 0.8092 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/1.562, allocations: 1.301 MB / 0.8105 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004425/1.563, allocations: 112 kB / 0.8106 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.575, allocations: 10.17 MB / 0.8205 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.575, allocations: 8 kB / 0.8205 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.589, allocations: 12.27 MB / 0.8325 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/1.592, allocations: 1.167 MB / 0.8337 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005682/1.592, allocations: 95.98 kB / 0.8337 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/1.595, allocations: 263.7 kB / 0.834 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/1.595, allocations: 356.3 kB / 0.8343 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.595, allocations: 148 kB / 0.8345 GB, free: 127.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003248/1.599, allocations: 2.818 MB / 0.8372 GB, free: 124.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/1.599, allocations: 0 / 0.8372 GB, free: 124.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005394/1.604, allocations: 1.934 MB / 0.8391 GB, free: 122.5 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.0005215/1.605, allocations: 308.7 kB / 0.8394 GB, free: 122.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.616, allocations: 8.745 MB / 0.848 GB, free: 113.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.616, allocations: 3.938 kB / 0.848 GB, free: 113.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00522/1.621, allocations: 4.182 MB / 0.852 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.625, allocations: 1.131 MB / 0.8531 GB, free: 108.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/1.651, allocations: 19.17 MB / 0.8719 GB, free: 88.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005861/1.657, allocations: 7.004 MB / 0.8787 GB, free: 81.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005245/1.662, allocations: 2.317 MB / 0.881 GB, free: 79.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.663, allocations: 415.4 kB / 0.8814 GB, free: 79.02 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/1.663, allocations: 0 / 0.8814 GB, free: 79.02 MB / 0.545 GB Notification: Performance of Templates: time 0.3218/1.985, allocations: 79.14 MB / 0.9586 GB, free: 173.6 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches