Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001653/0.001653, allocations: 113.2 kB / 17.73 MB, free: 5.312 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.001408/0.001408, allocations: 188.2 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 52.2 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1215, allocations: 46.62 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.3164/0.4379, allocations: 27.08 MB / 402.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.4589, allocations: 7.999 MB / 410.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009325/0.4683, allocations: 167.5 kB / 410.4 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02319/0.4916, allocations: 9.363 MB / 419.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01391/0.5055, allocations: 3.366 MB / 423.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006309/0.5118, allocations: 1.84 MB / 425 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0172/0.5291, allocations: 12.28 MB / 437.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0356/0.5647, allocations: 24.42 MB / 461.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/0.5765, allocations: 6.522 MB / 468.2 MB, free: 2.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01472/0.5912, allocations: 7.265 MB / 475.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00568/0.5969, allocations: 1.848 MB / 477.3 MB, free: 9.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00866/0.6056, allocations: 2.214 MB / 479.5 MB, free: 6.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006766/0.6124, allocations: 3.675 MB / 483.2 MB, free: 3.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01519/0.6276, allocations: 7 MB / 490.2 MB, free: 12.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03585/0.6635, allocations: 24.83 MB / 0.503 GB, free: 3.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.6636, allocations: 0 / 0.503 GB, free: 3.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6636, allocations: 0 / 0.503 GB, free: 3.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008581/0.6644, allocations: 0 / 0.503 GB, free: 3.367 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04613/0.7106, allocations: 14.93 MB / 0.5175 GB, free: 4.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7106, allocations: 11.97 kB / 0.5176 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0516/0.7622, allocations: 9.524 MB / 0.5269 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01925/0.7815, allocations: 6.909 MB / 0.5336 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008457/0.7824, allocations: 0.8227 MB / 0.5344 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00528/0.7877, allocations: 1.074 MB / 0.5355 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5123/1.3, allocations: 18.74 MB / 0.5538 GB, free: 128.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005946/1.301, allocations: 16.98 kB / 0.5538 GB, free: 128.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00553/1.306, allocations: 452 kB / 0.5542 GB, free: 128.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001424/1.308, allocations: 0.6996 MB / 0.5549 GB, free: 128.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05049/1.358, allocations: 18.22 MB / 0.5727 GB, free: 122.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09959/1.458, allocations: 59.5 MB / 0.6308 GB, free: 78.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02994/1.488, allocations: 46.72 MB / 0.6764 GB, free: 27.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006499/1.494, allocations: 4.281 MB / 0.6806 GB, free: 23.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01691/1.511, allocations: 12.36 MB / 0.6927 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/1.511, allocations: 81.27 kB / 0.6927 GB, free: 10.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 4.448e-06/1.511, allocations: 0 / 0.6927 GB, free: 10.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04271/1.554, allocations: 19.44 MB / 0.7117 GB, free: 7.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/1.554, allocations: 94.45 kB / 0.7118 GB, free: 7.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007586/1.562, allocations: 4.34 MB / 0.7161 GB, free: 3.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008574/1.563, allocations: 93.64 kB / 0.7161 GB, free: 3.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00401/1.567, allocations: 4.995 MB / 0.721 GB, free: 14.17 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002275/1.569, allocations: 1.414 MB / 0.7224 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/1.571, allocations: 1.283 MB / 0.7237 GB, free: 11.48 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/1.571, allocations: 305.1 kB / 0.724 GB, free: 11.18 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004883/1.576, allocations: 3.12 MB / 0.727 GB, free: 8.059 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008449/1.585, allocations: 5.739 MB / 0.7326 GB, free: 1.098 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/1.599, allocations: 9.45 MB / 0.7418 GB, free: 6.41 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.939e-05/1.599, allocations: 27.75 kB / 0.7419 GB, free: 6.387 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2952/1.894, allocations: 10.29 MB / 0.7519 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/1.894, allocations: 44.53 kB / 0.7519 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/1.894, allocations: 88 kB / 0.752 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004297/1.899, allocations: 1.448 MB / 0.7534 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/1.905, allocations: 1.46 MB / 0.7549 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01825/1.923, allocations: 11.46 MB / 0.7661 GB, free: 159.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006788/1.93, allocations: 402.5 kB / 0.7664 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.931, allocations: 330 kB / 0.7668 GB, free: 159 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01026/1.942, allocations: 4.177 MB / 0.7708 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/1.943, allocations: 472.3 kB / 0.7713 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.956, allocations: 7.353 MB / 0.7785 GB, free: 154.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008509/1.965, allocations: 6.033 MB / 0.7844 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/1.965, allocations: 14.22 kB / 0.7844 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/1.965, allocations: 22.22 kB / 0.7844 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/1.991, allocations: 16.34 MB / 0.8004 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.991, allocations: 352 / 0.8004 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/1.994, allocations: 0.7302 MB / 0.8011 GB, free: 145.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/1.997, allocations: 1.295 MB / 0.8023 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003729/1.997, allocations: 84.77 kB / 0.8024 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/2.01, allocations: 10.19 MB / 0.8124 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/2.01, allocations: 1.516 kB / 0.8124 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/2.026, allocations: 10.57 MB / 0.8227 GB, free: 125 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003005/2.029, allocations: 1.059 MB / 0.8237 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000993/2.03, allocations: 68 kB / 0.8238 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/2.033, allocations: 251.8 kB / 0.824 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007352/2.033, allocations: 271.5 kB / 0.8243 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002502/2.034, allocations: 119.2 kB / 0.8244 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004123/2.038, allocations: 2.915 MB / 0.8272 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.5e-07/2.038, allocations: 0 / 0.8272 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008086/2.046, allocations: 1.842 MB / 0.829 GB, free: 118.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0009183/2.047, allocations: 265.2 kB / 0.8293 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01197/2.059, allocations: 7.928 MB / 0.837 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/2.059, allocations: 0 / 0.837 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005693/2.065, allocations: 3.648 MB / 0.8406 GB, free: 106.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/2.07, allocations: 1.098 MB / 0.8417 GB, free: 105.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/2.105, allocations: 19 MB / 0.8602 GB, free: 86.66 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007325/2.113, allocations: 7.028 MB / 0.8671 GB, free: 79.58 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005912/2.119, allocations: 2.244 MB / 0.8693 GB, free: 77.33 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/2.12, allocations: 367.4 kB / 0.8696 GB, free: 76.97 MB / 0.5138 GB Notification: Performance of SimCode: time 8.91e-07/2.12, allocations: 4 kB / 0.8696 GB, free: 76.97 MB / 0.5138 GB Notification: Performance of Templates: time 0.1139/2.234, allocations: 71.92 MB / 0.9399 GB, free: 5.039 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches