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.001121/0.001121, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2356, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02652/0.2622, allocations: 27 MB / 436.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.2783, allocations: 8.145 MB / 444.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004354/0.2827, allocations: 203.4 kB / 444.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02007/0.3028, allocations: 9.379 MB / 454 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00968/0.3125, allocations: 3.302 MB / 457.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.3169, allocations: 1.831 MB / 459.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0134/0.3303, allocations: 12.24 MB / 471.4 MB, free: 3.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03165/0.362, allocations: 24.39 MB / 495.8 MB, free: 10.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008111/0.3701, allocations: 6.476 MB / 0.4905 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.3807, allocations: 7.215 MB / 0.4975 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003909/0.3847, allocations: 1.84 MB / 0.4993 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.3903, allocations: 2.222 MB / 0.5015 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003972/0.3943, allocations: 3.609 MB / 0.505 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009646/0.404, allocations: 6.923 MB / 0.5118 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02282/0.4268, allocations: 24.75 MB / 0.5359 GB, free: 5.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4268, allocations: 0 / 0.5359 GB, free: 5.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4268, allocations: 4 kB / 0.5359 GB, free: 5.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004327/0.4273, allocations: 0 / 0.5359 GB, free: 5.527 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.3837/0.811, allocations: 14.51 MB / 0.5501 GB, free: 108.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8111, allocations: 11.75 kB / 0.5501 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04296/0.8541, allocations: 8.496 MB / 0.5584 GB, free: 103.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/0.8698, allocations: 7.651 MB / 0.5659 GB, free: 95.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005937/0.8704, allocations: 0.8101 MB / 0.5667 GB, free: 95.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003938/0.8743, allocations: 1.058 MB / 0.5677 GB, free: 94.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03488/0.9092, allocations: 18.29 MB / 0.5856 GB, free: 75.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003821/0.9096, allocations: 19.8 kB / 0.5856 GB, free: 75.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002999/0.9127, allocations: 450.8 kB / 0.586 GB, free: 75.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005532/0.9132, allocations: 0.675 MB / 0.5867 GB, free: 74.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/0.9462, allocations: 17.53 MB / 0.6038 GB, free: 57.15 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08249/1.029, allocations: 59.19 MB / 0.6616 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03121/1.06, allocations: 37.46 MB / 0.6982 GB, free: 3.082 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007094/1.067, allocations: 4.113 MB / 0.7022 GB, free: 14.95 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/1.068, allocations: 274 kB / 0.7025 GB, free: 14.64 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/1.068, allocations: 90.62 kB / 0.7025 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.243e-05/1.068, allocations: 0 / 0.7025 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04606/1.114, allocations: 21.46 MB / 0.7235 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.114, allocations: 107.5 kB / 0.7236 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005724/1.12, allocations: 4.175 MB / 0.7277 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003766/1.12, allocations: 113.7 kB / 0.7278 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.123, allocations: 4.505 MB / 0.7322 GB, free: 15.82 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/1.125, allocations: 1.779 MB / 0.7339 GB, free: 14.01 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001968/1.127, allocations: 1.343 MB / 0.7352 GB, free: 12.66 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/1.127, allocations: 305.1 kB / 0.7355 GB, free: 12.36 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005548/1.132, allocations: 3.449 MB / 0.7389 GB, free: 8.906 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007416/1.14, allocations: 5.881 MB / 0.7446 GB, free: 1.93 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2144/1.354, allocations: 10.01 MB / 0.7544 GB, free: 179.3 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.325e-05/1.354, allocations: 19.78 kB / 0.7544 GB, free: 179.3 MB / 0.5451 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01591/1.37, allocations: 10.95 MB / 0.7651 GB, free: 175.1 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/1.37, allocations: 42.23 kB / 0.7652 GB, free: 175.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/1.37, allocations: 77.94 kB / 0.7652 GB, free: 175.1 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/1.374, allocations: 1.444 MB / 0.7667 GB, free: 174.8 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005123/1.379, allocations: 1.607 MB / 0.7682 GB, free: 174.7 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/1.393, allocations: 11.48 MB / 0.7794 GB, free: 168.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/1.398, allocations: 416.2 kB / 0.7798 GB, free: 168.6 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/1.398, allocations: 333 kB / 0.7801 GB, free: 168.5 MB / 0.5451 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.004846/1.403, allocations: 4.169 MB / 0.7842 GB, free: 166.2 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008157/1.404, allocations: 480.1 kB / 0.7847 GB, free: 165.9 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.416, allocations: 8.474 MB / 0.793 GB, free: 158.8 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009555/1.425, allocations: 7.089 MB / 0.7999 GB, free: 152.7 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/1.425, allocations: 12 kB / 0.7999 GB, free: 152.6 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-05/1.425, allocations: 29.16 kB / 0.7999 GB, free: 152.6 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/1.45, allocations: 18.76 MB / 0.8182 GB, free: 134.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.45, allocations: 8.281 kB / 0.8182 GB, free: 134.2 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/1.454, allocations: 0.9382 MB / 0.8192 GB, free: 133.3 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/1.457, allocations: 1.297 MB / 0.8204 GB, free: 132 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003218/1.457, allocations: 119.8 kB / 0.8205 GB, free: 131.8 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/1.469, allocations: 10.17 MB / 0.8305 GB, free: 121.7 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.469, allocations: 7.938 kB / 0.8305 GB, free: 121.7 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/1.485, allocations: 12.27 MB / 0.8425 GB, free: 109.2 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/1.487, allocations: 1.159 MB / 0.8436 GB, free: 108 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008032/1.488, allocations: 92 kB / 0.8437 GB, free: 107.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.491, allocations: 275.8 kB / 0.8439 GB, free: 107.6 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/1.491, allocations: 348.4 kB / 0.8443 GB, free: 107.3 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002703/1.492, allocations: 152 kB / 0.8444 GB, free: 107.1 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003371/1.495, allocations: 2.826 MB / 0.8472 GB, free: 104.3 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.71e-07/1.495, allocations: 0 / 0.8472 GB, free: 104.3 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.00519/1.5, allocations: 1.927 MB / 0.8491 GB, free: 102.4 MB / 0.5451 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.0005549/1.501, allocations: 304.4 kB / 0.8493 GB, free: 102.1 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.512, allocations: 8.74 MB / 0.8579 GB, free: 93.3 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.512, allocations: 0.9375 kB / 0.8579 GB, free: 93.3 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.005748/1.518, allocations: 4.187 MB / 0.862 GB, free: 89.09 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/1.523, allocations: 1.144 MB / 0.8631 GB, free: 87.96 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.548, allocations: 19.2 MB / 0.8818 GB, free: 68.69 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005325/1.553, allocations: 7.001 MB / 0.8887 GB, free: 61.64 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.005004/1.558, allocations: 2.321 MB / 0.8909 GB, free: 59.32 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.559, allocations: 419.4 kB / 0.8913 GB, free: 58.91 MB / 0.5451 GB Notification: Performance of SimCode: time 6.21e-07/1.559, allocations: 0 / 0.8913 GB, free: 58.91 MB / 0.5451 GB Notification: Performance of Templates: time 0.3054/1.865, allocations: 79.16 MB / 0.9686 GB, free: 189.1 MB / 0.5607 GB 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