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.001704/0.001704, allocations: 112.1 kB / 17.07 MB, free: 5.992 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.002075/0.002075, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009657/0.0009657, allocations: 52.02 kB / 351.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2628, allocations: 49.42 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02657/0.2894, allocations: 26.98 MB / 427.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.3054, allocations: 8.043 MB / 435.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006007/0.3115, allocations: 195.4 kB / 436 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02311/0.3346, allocations: 9.349 MB / 445.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.3474, allocations: 3.318 MB / 448.6 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0056/0.353, allocations: 1.816 MB / 450.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01522/0.3682, allocations: 12.14 MB / 462.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03549/0.4038, allocations: 24.37 MB / 487 MB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.4149, allocations: 6.445 MB / 493.4 MB, free: 11.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/0.4274, allocations: 7.176 MB / 0.4888 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005222/0.4327, allocations: 1.84 MB / 0.4906 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006978/0.4397, allocations: 2.203 MB / 0.4928 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005396/0.4452, allocations: 3.601 MB / 0.4963 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01301/0.4582, allocations: 6.919 MB / 0.5031 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03141/0.4896, allocations: 24.8 MB / 0.5273 GB, free: 13.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4897, allocations: 0 / 0.5273 GB, free: 13.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4897, allocations: 0 / 0.5273 GB, free: 13.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007778/0.4905, allocations: 0 / 0.5273 GB, free: 13.11 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.4287/0.9192, allocations: 14.73 MB / 0.5417 GB, free: 114.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.9193, allocations: 9.438 kB / 0.5417 GB, free: 114.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04493/0.9642, allocations: 8.544 MB / 0.55 GB, free: 112 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.9775, allocations: 7.669 MB / 0.5575 GB, free: 107.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006577/0.9782, allocations: 0.8055 MB / 0.5583 GB, free: 106.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004359/0.9826, allocations: 1.055 MB / 0.5593 GB, free: 105.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/1.018, allocations: 18.29 MB / 0.5772 GB, free: 87.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/1.018, allocations: 17.17 kB / 0.5772 GB, free: 87.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/1.02, allocations: 454.4 kB / 0.5776 GB, free: 87.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004662/1.021, allocations: 0.6672 MB / 0.5783 GB, free: 86.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02845/1.049, allocations: 17.54 MB / 0.5954 GB, free: 68.97 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0804/1.13, allocations: 58.21 MB / 0.6523 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02946/1.159, allocations: 37.46 MB / 0.6888 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006967/1.166, allocations: 4.115 MB / 0.6929 GB, free: 12.55 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/1.167, allocations: 193 kB / 0.693 GB, free: 12.34 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.406e-05/1.167, allocations: 90.62 kB / 0.6931 GB, free: 12.24 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 6.903e-06/1.167, allocations: 0 / 0.6931 GB, free: 12.24 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.04949/1.216, allocations: 21.58 MB / 0.7142 GB, free: 6.566 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.216, allocations: 107.5 kB / 0.7143 GB, free: 6.445 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006383/1.223, allocations: 4.175 MB / 0.7184 GB, free: 2.242 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007732/1.224, allocations: 109.7 kB / 0.7185 GB, free: 2.129 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00297/1.226, allocations: 4.671 MB / 0.7231 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001918/1.228, allocations: 1.859 MB / 0.7249 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/1.23, allocations: 1.355 MB / 0.7262 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.231, allocations: 305.1 kB / 0.7265 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/1.236, allocations: 3.445 MB / 0.7299 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006608/1.242, allocations: 5.877 MB / 0.7356 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.255, allocations: 10.02 MB / 0.7454 GB, free: 4.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.479e-05/1.255, allocations: 20 kB / 0.7454 GB, free: 4.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2481/1.503, allocations: 10.96 MB / 0.7561 GB, free: 188.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.849e-05/1.504, allocations: 37.22 kB / 0.7561 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/1.504, allocations: 80.88 kB / 0.7562 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/1.507, allocations: 1.451 MB / 0.7576 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005859/1.513, allocations: 1.61 MB / 0.7592 GB, free: 188.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.528, allocations: 11.49 MB / 0.7704 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/1.533, allocations: 409.8 kB / 0.7708 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/1.534, allocations: 336 kB / 0.7711 GB, free: 182.2 MB / 0.545 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.007223/1.541, allocations: 4.161 MB / 0.7752 GB, free: 180.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/1.543, allocations: 0.4909 MB / 0.7757 GB, free: 180.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.557, allocations: 8.48 MB / 0.784 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009904/1.567, allocations: 7.086 MB / 0.7909 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.567, allocations: 12 kB / 0.7909 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/1.567, allocations: 26.86 kB / 0.7909 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.594, allocations: 18.78 MB / 0.8093 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/1.594, allocations: 4 kB / 0.8093 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/1.598, allocations: 0.9292 MB / 0.8102 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/1.601, allocations: 1.309 MB / 0.8114 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005839/1.601, allocations: 112 kB / 0.8116 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.613, allocations: 10.18 MB / 0.8215 GB, free: 141.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.613, allocations: 4 kB / 0.8215 GB, free: 141.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.629, allocations: 12.3 MB / 0.8335 GB, free: 129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/1.632, allocations: 1.187 MB / 0.8347 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.633, allocations: 88 kB / 0.8348 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/1.637, allocations: 275.8 kB / 0.835 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007905/1.637, allocations: 352.3 kB / 0.8354 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/1.638, allocations: 148 kB / 0.8355 GB, free: 126.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004028/1.642, allocations: 2.818 MB / 0.8382 GB, free: 124.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/1.642, allocations: 0 / 0.8382 GB, free: 124.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006126/1.648, allocations: 1.93 MB / 0.8401 GB, free: 122.2 MB / 0.545 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.0007183/1.649, allocations: 318.1 kB / 0.8404 GB, free: 121.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.66, allocations: 8.745 MB / 0.849 GB, free: 113.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.661, allocations: 4.125 kB / 0.849 GB, free: 113.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00613/1.667, allocations: 4.199 MB / 0.8531 GB, free: 108.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005542/1.672, allocations: 1.122 MB / 0.8542 GB, free: 107.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/1.7, allocations: 19.46 MB / 0.8732 GB, free: 88.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005527/1.705, allocations: 7.005 MB / 0.88 GB, free: 81.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005299/1.711, allocations: 2.317 MB / 0.8823 GB, free: 78.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.712, allocations: 419.4 kB / 0.8827 GB, free: 78.39 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/1.712, allocations: 0 / 0.8827 GB, free: 78.39 MB / 0.545 GB Notification: Performance of Templates: time 0.3178/2.03, allocations: 79.12 MB / 0.9599 GB, free: 179.4 MB / 0.545 GB 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