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.001341/0.001341, allocations: 104.5 kB / 16.92 MB, free: 6.199 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.001384/0.001384, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.33/1.33, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009761/0.0009762, allocations: 45.45 kB / 300.6 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09233, allocations: 49.45 MB / 350.1 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1824/0.2748, allocations: 26.94 MB / 377 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.2913, allocations: 8.05 MB / 385.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006792/0.2982, allocations: 201.7 kB / 385.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01897/0.3172, allocations: 9.351 MB / 394.6 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.3279, allocations: 3.322 MB / 397.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005968/0.3339, allocations: 1.813 MB / 399.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01694/0.3508, allocations: 12.05 MB / 411.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03758/0.3884, allocations: 24.48 MB / 436.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009888/0.3984, allocations: 6.433 MB / 442.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.4095, allocations: 7.203 MB / 449.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004317/0.4139, allocations: 1.84 MB / 451.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/0.4202, allocations: 2.214 MB / 454 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004976/0.4252, allocations: 3.609 MB / 457.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01135/0.4366, allocations: 6.923 MB / 464.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02489/0.4615, allocations: 24.62 MB / 489.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4615, allocations: 0 / 489.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4615, allocations: 0 / 489.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006956/0.4622, allocations: 0 / 489.1 MB, free: 10.7 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.04147/0.5037, allocations: 14.54 MB / 0.4919 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5038, allocations: 8.031 kB / 0.4919 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04585/0.5496, allocations: 8.438 MB / 0.5001 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.5641, allocations: 7.441 MB / 0.5074 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006293/0.5648, allocations: 0.8069 MB / 0.5082 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/0.5681, allocations: 1.066 MB / 0.5092 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3336/0.9017, allocations: 18.29 MB / 0.5271 GB, free: 111.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004308/0.9022, allocations: 18.09 kB / 0.5271 GB, free: 111.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003144/0.9054, allocations: 446.7 kB / 0.5275 GB, free: 110.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007569/0.9061, allocations: 0.6679 MB / 0.5282 GB, free: 110.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03602/0.9422, allocations: 17.53 MB / 0.5453 GB, free: 104.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08313/1.025, allocations: 58.74 MB / 0.6026 GB, free: 53.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02391/1.049, allocations: 37.47 MB / 0.6392 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005957/1.055, allocations: 4.118 MB / 0.6433 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/1.056, allocations: 191.4 kB / 0.6434 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.813e-05/1.056, allocations: 86.56 kB / 0.6435 GB, free: 7.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=518): time 6.342e-06/1.056, allocations: 0 / 0.6435 GB, free: 7.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=524): time 0.04614/1.102, allocations: 21.45 MB / 0.6645 GB, free: 1.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.102, allocations: 103.5 kB / 0.6646 GB, free: 1.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006134/1.108, allocations: 4.175 MB / 0.6686 GB, free: 13.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008108/1.109, allocations: 113.7 kB / 0.6688 GB, free: 13.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00289/1.112, allocations: 4.51 MB / 0.6732 GB, free: 8.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001886/1.114, allocations: 1.778 MB / 0.6749 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/1.116, allocations: 1.343 MB / 0.6762 GB, free: 5.805 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/1.116, allocations: 309.1 kB / 0.6765 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004903/1.121, allocations: 3.445 MB / 0.6799 GB, free: 2.051 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006415/1.127, allocations: 5.884 MB / 0.6856 GB, free: 11.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1758/1.303, allocations: 10.01 MB / 0.6954 GB, free: 144.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-05/1.303, allocations: 22.5 kB / 0.6954 GB, free: 144.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01779/1.321, allocations: 10.94 MB / 0.7061 GB, free: 142 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/1.321, allocations: 38.12 kB / 0.7061 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.321, allocations: 78.97 kB / 0.7062 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00383/1.325, allocations: 1.455 MB / 0.7076 GB, free: 141.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005635/1.331, allocations: 1.61 MB / 0.7092 GB, free: 141.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/1.345, allocations: 11.5 MB / 0.7204 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.35, allocations: 407.8 kB / 0.7208 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005782/1.35, allocations: 333.8 kB / 0.7211 GB, free: 135.4 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.004895/1.355, allocations: 4.159 MB / 0.7252 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009174/1.356, allocations: 473.8 kB / 0.7257 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/1.368, allocations: 8.492 MB / 0.7339 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008727/1.377, allocations: 7.08 MB / 0.7409 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/1.377, allocations: 15.81 kB / 0.7409 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-05/1.377, allocations: 29.62 kB / 0.7409 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/1.402, allocations: 19.32 MB / 0.7598 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.403, allocations: 6.844 kB / 0.7598 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/1.406, allocations: 0.9373 MB / 0.7607 GB, free: 113.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/1.409, allocations: 1.316 MB / 0.762 GB, free: 112.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004151/1.41, allocations: 112 kB / 0.7621 GB, free: 112.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.421, allocations: 10.19 MB / 0.772 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.421, allocations: 4 kB / 0.772 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.436, allocations: 12.26 MB / 0.784 GB, free: 89.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.438, allocations: 1.159 MB / 0.7851 GB, free: 88.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006316/1.438, allocations: 92 kB / 0.7852 GB, free: 88.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.44, allocations: 275.8 kB / 0.7855 GB, free: 88.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/1.441, allocations: 352.4 kB / 0.7858 GB, free: 87.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.441, allocations: 148 kB / 0.786 GB, free: 87.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003081/1.444, allocations: 2.815 MB / 0.7887 GB, free: 84.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/1.444, allocations: 0 / 0.7887 GB, free: 84.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004763/1.449, allocations: 1.932 MB / 0.7906 GB, free: 82.98 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.0005275/1.45, allocations: 319.5 kB / 0.7909 GB, free: 82.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.04173/1.492, allocations: 20.62 MB / 0.811 GB, free: 62.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.492, allocations: 0 / 0.811 GB, free: 62.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006263/1.498, allocations: 4.19 MB / 0.8151 GB, free: 57.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/1.503, allocations: 1.124 MB / 0.8162 GB, free: 56.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/1.532, allocations: 19.39 MB / 0.8352 GB, free: 37.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0082/1.54, allocations: 7.005 MB / 0.842 GB, free: 30.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006506/1.547, allocations: 2.325 MB / 0.8443 GB, free: 27.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.549, allocations: 419.3 kB / 0.8447 GB, free: 27.46 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/1.549, allocations: 0 / 0.8447 GB, free: 27.46 MB / 478.1 MB Notification: Performance of Templates: time 0.2813/1.83, allocations: 82.7 MB / 0.9254 GB, free: 109.9 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 -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