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.001778/0.001778, allocations: 109.9 kB / 17.74 MB, free: 5.34 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.002911/0.002911, allocations: 193.5 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.094/3.094, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6428/0.6449, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.07183/0.7168, allocations: 26.96 MB / 428.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03878/0.7556, allocations: 8.039 MB / 436.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0159/0.7716, allocations: 199.4 kB / 436.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04464/0.8163, allocations: 9.346 MB / 446 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02424/0.8406, allocations: 3.318 MB / 449.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.8528, allocations: 1.821 MB / 451.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03336/0.8862, allocations: 12.13 MB / 463.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07406/0.9604, allocations: 24.38 MB / 487.6 MB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02018/0.9806, allocations: 6.468 MB / 494.1 MB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02152/1.002, allocations: 7.168 MB / 0.4895 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008563/1.011, allocations: 1.84 MB / 0.4913 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/1.023, allocations: 2.195 MB / 0.4935 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009502/1.032, allocations: 3.613 MB / 0.497 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02015/1.052, allocations: 6.919 MB / 0.5038 GB, free: 6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0487/1.101, allocations: 24.74 MB / 0.5279 GB, free: 13.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/1.101, allocations: 0 / 0.5279 GB, free: 13.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/1.101, allocations: 3.938 kB / 0.5279 GB, free: 13.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008172/1.102, allocations: 0 / 0.5279 GB, free: 13.18 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.7378/1.84, allocations: 14.47 MB / 0.542 GB, free: 114.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/1.84, allocations: 9.891 kB / 0.5421 GB, free: 114.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08517/1.925, allocations: 8.491 MB / 0.5504 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02813/1.953, allocations: 7.646 MB / 0.5578 GB, free: 107.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001294/1.955, allocations: 0.802 MB / 0.5586 GB, free: 107.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006477/1.961, allocations: 1.056 MB / 0.5596 GB, free: 106.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06842/2.03, allocations: 18.29 MB / 0.5775 GB, free: 87.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008312/2.031, allocations: 15.91 kB / 0.5775 GB, free: 87.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00615/2.037, allocations: 452.4 kB / 0.5779 GB, free: 87.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/2.038, allocations: 0.6672 MB / 0.5786 GB, free: 86.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05698/2.095, allocations: 17.54 MB / 0.5957 GB, free: 69.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1633/2.258, allocations: 58.06 MB / 0.6524 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05497/2.313, allocations: 37.48 MB / 0.689 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01211/2.325, allocations: 4.107 MB / 0.693 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/2.327, allocations: 193 kB / 0.6932 GB, free: 12.31 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/2.327, allocations: 90.62 kB / 0.6933 GB, free: 12.21 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 1.852e-05/2.327, allocations: 0 / 0.6933 GB, free: 12.21 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.08937/2.416, allocations: 21.44 MB / 0.7142 GB, free: 6.516 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/2.416, allocations: 103.5 kB / 0.7143 GB, free: 6.398 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/2.429, allocations: 4.171 MB / 0.7184 GB, free: 2.199 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001353/2.43, allocations: 113.7 kB / 0.7185 GB, free: 2.082 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005592/2.436, allocations: 4.509 MB / 0.7229 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004087/2.44, allocations: 1.779 MB / 0.7247 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007551/2.448, allocations: 1.347 MB / 0.726 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001589/2.448, allocations: 309.1 kB / 0.7263 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009835/2.458, allocations: 3.438 MB / 0.7296 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01279/2.471, allocations: 5.881 MB / 0.7354 GB, free: 15.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01978/2.49, allocations: 10.02 MB / 0.7452 GB, free: 4.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/2.491, allocations: 20 kB / 0.7452 GB, free: 4.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.3331/2.824, allocations: 10.94 MB / 0.7559 GB, free: 188.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/2.824, allocations: 39 kB / 0.7559 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/2.824, allocations: 78.19 kB / 0.756 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/2.828, allocations: 1.439 MB / 0.7574 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006162/2.834, allocations: 1.617 MB / 0.759 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/2.85, allocations: 11.48 MB / 0.7702 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005425/2.855, allocations: 409 kB / 0.7706 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/2.856, allocations: 338 kB / 0.7709 GB, free: 182.4 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.006882/2.863, allocations: 4.158 MB / 0.7749 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/2.864, allocations: 471.3 kB / 0.7754 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/2.878, allocations: 8.482 MB / 0.7837 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01058/2.889, allocations: 7.089 MB / 0.7906 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/2.889, allocations: 12 kB / 0.7906 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.823e-05/2.889, allocations: 26.58 kB / 0.7906 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/2.921, allocations: 18.75 MB / 0.809 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/2.921, allocations: 4 kB / 0.809 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003688/2.924, allocations: 0.9362 MB / 0.8099 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003379/2.928, allocations: 1.298 MB / 0.8111 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007821/2.929, allocations: 116 kB / 0.8113 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/2.941, allocations: 10.17 MB / 0.8212 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.941, allocations: 7.938 kB / 0.8212 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/2.958, allocations: 12.28 MB / 0.8332 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/2.962, allocations: 1.159 MB / 0.8343 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/2.963, allocations: 95.98 kB / 0.8344 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/2.966, allocations: 278.6 kB / 0.8347 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008346/2.967, allocations: 348.4 kB / 0.835 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003092/2.967, allocations: 151.8 kB / 0.8351 GB, free: 127.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004231/2.971, allocations: 2.815 MB / 0.8379 GB, free: 124.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/2.971, allocations: 0 / 0.8379 GB, free: 124.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007733/2.979, allocations: 1.934 MB / 0.8398 GB, free: 122.5 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.001171/2.98, allocations: 315.8 kB / 0.8401 GB, free: 122.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01394/2.994, allocations: 8.741 MB / 0.8486 GB, free: 113.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/2.994, allocations: 0 / 0.8486 GB, free: 113.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00742/3.002, allocations: 4.186 MB / 0.8527 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006436/3.008, allocations: 1.128 MB / 0.8538 GB, free: 108.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03187/3.04, allocations: 18.88 MB / 0.8723 GB, free: 89.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008723/3.049, allocations: 6.802 MB / 0.8789 GB, free: 82.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002318/3.051, allocations: 463.3 kB / 0.8793 GB, free: 81.83 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/3.051, allocations: 0 / 0.8793 GB, free: 81.83 MB / 0.545 GB Notification: Performance of Templates: time 0.4569/3.508, allocations: 183.6 MB / 1.059 GB, free: 85.23 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/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