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.001316/0.001316, allocations: 112.2 kB / 17.69 MB, free: 5.465 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.001412/0.001413, allocations: 190.9 kB / 18.61 MB, free: 4.539 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.349/1.349, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 56.17 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 49.45 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2093/0.3212, allocations: 26.95 MB / 378.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3385, allocations: 8.043 MB / 386.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008016/0.3465, allocations: 201 kB / 386.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01921/0.3658, allocations: 9.361 MB / 396.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.3804, allocations: 3.315 MB / 399.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.386, allocations: 1.8 MB / 401.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01758/0.4036, allocations: 12.13 MB / 413.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04139/0.445, allocations: 24.39 MB / 437.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.4557, allocations: 6.452 MB / 444.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.467, allocations: 7.168 MB / 451.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004691/0.4717, allocations: 1.844 MB / 453.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007312/0.479, allocations: 2.207 MB / 455.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005911/0.485, allocations: 3.601 MB / 459 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01451/0.4995, allocations: 6.923 MB / 465.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03137/0.5309, allocations: 24.73 MB / 490.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.531, allocations: 0 / 490.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.531, allocations: 0 / 490.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007527/0.5317, allocations: 0 / 490.6 MB, free: 10.12 MB / 398.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.05101/0.5828, allocations: 14.47 MB / 0.4933 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.5828, allocations: 8.031 kB / 0.4933 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04728/0.6301, allocations: 8.485 MB / 0.5016 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/0.6495, allocations: 7.652 MB / 0.509 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009675/0.6505, allocations: 0.8029 MB / 0.5098 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004688/0.6552, allocations: 1.058 MB / 0.5109 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4596/1.115, allocations: 18.28 MB / 0.5287 GB, free: 111 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004942/1.115, allocations: 17.55 kB / 0.5287 GB, free: 111 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003299/1.119, allocations: 446.7 kB / 0.5291 GB, free: 110.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001011/1.12, allocations: 0.6778 MB / 0.5298 GB, free: 110.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03484/1.155, allocations: 17.54 MB / 0.5469 GB, free: 104 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08405/1.239, allocations: 58.07 MB / 0.6036 GB, free: 53.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02355/1.262, allocations: 37.48 MB / 0.6402 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005574/1.268, allocations: 4.12 MB / 0.6443 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/1.268, allocations: 191.5 kB / 0.6444 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.96e-05/1.269, allocations: 82.62 kB / 0.6445 GB, free: 7.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=518): time 7.534e-06/1.269, allocations: 0 / 0.6445 GB, free: 7.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=524): time 0.04739/1.316, allocations: 21.45 MB / 0.6655 GB, free: 1.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/1.316, allocations: 103.5 kB / 0.6656 GB, free: 1.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007671/1.324, allocations: 4.175 MB / 0.6696 GB, free: 13.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009178/1.325, allocations: 113.7 kB / 0.6698 GB, free: 13.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003385/1.328, allocations: 4.511 MB / 0.6742 GB, free: 8.812 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002043/1.33, allocations: 1.766 MB / 0.6759 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003648/1.334, allocations: 1.355 MB / 0.6772 GB, free: 5.695 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/1.334, allocations: 301.1 kB / 0.6775 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005746/1.34, allocations: 3.445 MB / 0.6809 GB, free: 1.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008047/1.348, allocations: 5.88 MB / 0.6866 GB, free: 10.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2044/1.552, allocations: 10.02 MB / 0.6964 GB, free: 141.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.052e-05/1.552, allocations: 21.84 kB / 0.6964 GB, free: 141.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02185/1.574, allocations: 10.94 MB / 0.7071 GB, free: 139.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.574, allocations: 37.66 kB / 0.7071 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/1.575, allocations: 82.27 kB / 0.7072 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/1.579, allocations: 1.441 MB / 0.7086 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006496/1.585, allocations: 1.611 MB / 0.7102 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/1.602, allocations: 11.48 MB / 0.7214 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005207/1.607, allocations: 417.1 kB / 0.7218 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.608, allocations: 331.6 kB / 0.7221 GB, free: 133 MB / 478.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 (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.007436/1.616, allocations: 4.157 MB / 0.7262 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/1.617, allocations: 476.3 kB / 0.7266 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.632, allocations: 8.478 MB / 0.7349 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01015/1.642, allocations: 7.081 MB / 0.7418 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/1.642, allocations: 15.75 kB / 0.7418 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-05/1.642, allocations: 26.67 kB / 0.7419 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03805/1.68, allocations: 18.76 MB / 0.7602 GB, free: 115.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/1.68, allocations: 4 kB / 0.7602 GB, free: 115.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003874/1.684, allocations: 0.9354 MB / 0.7611 GB, free: 114.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/1.688, allocations: 1.305 MB / 0.7624 GB, free: 112.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007566/1.689, allocations: 108.9 kB / 0.7625 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/1.702, allocations: 10.18 MB / 0.7724 GB, free: 102.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.702, allocations: 8 kB / 0.7724 GB, free: 102.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01839/1.72, allocations: 12.26 MB / 0.7844 GB, free: 90.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003392/1.724, allocations: 1.163 MB / 0.7855 GB, free: 88.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.725, allocations: 99.98 kB / 0.7856 GB, free: 88.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/1.728, allocations: 271.7 kB / 0.7859 GB, free: 88.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008721/1.729, allocations: 352.3 kB / 0.7862 GB, free: 88.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004574/1.729, allocations: 144 kB / 0.7864 GB, free: 88.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00422/1.734, allocations: 2.818 MB / 0.7891 GB, free: 85.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.734, allocations: 0 / 0.7891 GB, free: 85.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006611/1.74, allocations: 1.931 MB / 0.791 GB, free: 83.3 MB / 478.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 (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.0009105/1.741, allocations: 315.4 kB / 0.7913 GB, free: 83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01337/1.755, allocations: 8.732 MB / 0.7998 GB, free: 74.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.755, allocations: 0 / 0.7998 GB, free: 74.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007447/1.762, allocations: 4.19 MB / 0.8039 GB, free: 70 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00657/1.769, allocations: 1.135 MB / 0.805 GB, free: 68.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/1.803, allocations: 19.16 MB / 0.8237 GB, free: 49.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00934/1.812, allocations: 7.01 MB / 0.8306 GB, free: 42.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006618/1.819, allocations: 2.313 MB / 0.8329 GB, free: 40.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.82, allocations: 419.3 kB / 0.8333 GB, free: 39.86 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/1.82, allocations: 0 / 0.8333 GB, free: 39.86 MB / 478.1 MB Notification: Performance of Templates: time 0.3779/2.198, allocations: 76.36 MB / 0.9078 GB, free: 128.1 MB / 478.1 MB 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 -s gbode -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/jenkins1/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/jenkins1/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