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.0007363/0.0007394, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.0008606/0.0008607, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.115/1.115, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001971/0.0001971, allocations: 11.94 kB / 302.1 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06898/0.06918, allocations: 50.41 MB / 352.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1496/0.2188, allocations: 25.33 MB / 377.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.2305, allocations: 7.907 MB / 385.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.2343, allocations: 183.1 kB / 385.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.2388, allocations: 1.944 MB / 387.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.2464, allocations: 3.019 MB / 390.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.2495, allocations: 1.592 MB / 392.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.2601, allocations: 12.22 MB / 404.7 MB, free: 15.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03003/0.2901, allocations: 24.07 MB / 428.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006044/0.2962, allocations: 4.577 MB / 433.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006865/0.3031, allocations: 5.536 MB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.3044, allocations: 0.7188 MB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.3073, allocations: 1.082 MB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.3089, allocations: 2.269 MB / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004905/0.3138, allocations: 5.464 MB / 448.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.3292, allocations: 20.95 MB / 469.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3293, allocations: 4 kB / 469.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3293, allocations: 0 / 469.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003752/0.3296, allocations: 0 / 469.4 MB, free: 0.6172 MB / 366.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.02798/0.3576, allocations: 12.15 MB / 481.5 MB, free: 4.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3577, allocations: 15.97 kB / 481.5 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04163/0.3993, allocations: 8.465 MB / 490 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.4112, allocations: 7.468 MB / 497.5 MB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005533/0.4118, allocations: 0.8147 MB / 498.3 MB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/0.414, allocations: 1.058 MB / 499.4 MB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02583/0.4399, allocations: 18.31 MB / 0.5055 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/0.4401, allocations: 15.91 kB / 0.5055 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.4411, allocations: 451.9 kB / 0.506 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005311/0.4417, allocations: 0.6633 MB / 0.5066 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2909/0.7326, allocations: 17.55 MB / 0.5238 GB, free: 109.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06278/0.7954, allocations: 58.89 MB / 0.5813 GB, free: 72.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/0.815, allocations: 37.45 MB / 0.6178 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004964/0.82, allocations: 4.172 MB / 0.6219 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.8204, allocations: 190.2 kB / 0.6221 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.8205, allocations: 90.64 kB / 0.6222 GB, free: 30.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=524): time 6.453e-06/0.8205, allocations: 0 / 0.6222 GB, free: 30.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=530): time 0.03653/0.857, allocations: 21.94 MB / 0.6436 GB, free: 8.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.8571, allocations: 107.5 kB / 0.6437 GB, free: 8.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.8612, allocations: 4.167 MB / 0.6478 GB, free: 4.332 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.8615, allocations: 109.7 kB / 0.6479 GB, free: 4.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.863, allocations: 4.5 MB / 0.6523 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.8642, allocations: 1.796 MB / 0.654 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006514/0.8648, allocations: 0.5564 MB / 0.6546 GB, free: 13.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.8649, allocations: 301.1 kB / 0.6549 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/0.8692, allocations: 3.488 MB / 0.6583 GB, free: 9.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005575/0.8748, allocations: 5.932 MB / 0.6641 GB, free: 2.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.8854, allocations: 10.1 MB / 0.6739 GB, free: 7.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-05/0.8854, allocations: 24 kB / 0.674 GB, free: 7.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01474/0.9002, allocations: 11.01 MB / 0.6847 GB, free: 12.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.9002, allocations: 44.02 kB / 0.6848 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-05/0.9003, allocations: 80 kB / 0.6848 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/0.9035, allocations: 1.397 MB / 0.6862 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004776/0.9083, allocations: 1.611 MB / 0.6878 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1661/1.074, allocations: 10.59 MB / 0.6981 GB, free: 145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/1.079, allocations: 410.9 kB / 0.6985 GB, free: 145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.08, allocations: 335.6 kB / 0.6988 GB, free: 145 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 (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.006291/1.086, allocations: 4.162 MB / 0.7029 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000975/1.087, allocations: 483.3 kB / 0.7033 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.1, allocations: 8.553 MB / 0.7117 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008684/1.109, allocations: 7.155 MB / 0.7187 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.109, allocations: 15.66 kB / 0.7187 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/1.109, allocations: 25.64 kB / 0.7187 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/1.131, allocations: 19.42 MB / 0.7377 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.131, allocations: 2.297 kB / 0.7377 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.134, allocations: 0.9395 MB / 0.7386 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/1.137, allocations: 1.251 MB / 0.7398 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/1.137, allocations: 113.7 kB / 0.7399 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.147, allocations: 9.328 MB / 0.749 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.147, allocations: 8.656 kB / 0.7491 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.161, allocations: 12.39 MB / 0.7612 GB, free: 113.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.162, allocations: 1.173 MB / 0.7623 GB, free: 112.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004763/1.163, allocations: 95.8 kB / 0.7624 GB, free: 112.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.165, allocations: 282.1 kB / 0.7627 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/1.166, allocations: 355.4 kB / 0.763 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.166, allocations: 144 kB / 0.7631 GB, free: 111.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002866/1.169, allocations: 2.818 MB / 0.7659 GB, free: 108.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.169, allocations: 0.7656 kB / 0.7659 GB, free: 108.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004278/1.173, allocations: 1.933 MB / 0.7678 GB, free: 106.7 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 (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.0004667/1.173, allocations: 308.5 kB / 0.7681 GB, free: 106.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009998/1.183, allocations: 8.804 MB / 0.7767 GB, free: 97.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.183, allocations: 8.062 kB / 0.7767 GB, free: 97.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00499/1.188, allocations: 4.238 MB / 0.7808 GB, free: 93.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00519/1.194, allocations: 1.069 MB / 0.7819 GB, free: 92.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/1.216, allocations: 23.78 MB / 0.8051 GB, free: 68.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004436/1.221, allocations: 6.803 MB / 0.8117 GB, free: 61.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.223, allocations: 463.3 kB / 0.8122 GB, free: 61.04 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/1.223, allocations: 0 / 0.8122 GB, free: 61.04 MB / 478.1 MB Notification: Performance of Templates: time 0.3064/1.529, allocations: 180.1 MB / 0.9881 GB, free: 43.13 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/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