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.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 110.9 kB / 17.74 MB, free: 5.309 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.001804/0.001804, allocations: 188.4 kB / 18.67 MB, free: 4.383 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 47.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2698, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02582/0.2956, allocations: 24.76 MB / 426.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.3109, allocations: 7.345 MB / 433.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004588/0.3156, allocations: 187.4 kB / 433.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02053/0.3361, allocations: 8.787 MB / 442.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.3466, allocations: 2.914 MB / 445.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005586/0.3522, allocations: 1.726 MB / 447.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01467/0.3669, allocations: 10.72 MB / 457.9 MB, free: 232 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03873/0.4057, allocations: 21.83 MB / 479.7 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.4161, allocations: 5.716 MB / 485.4 MB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.4278, allocations: 6.253 MB / 491.7 MB, free: 14.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005474/0.4333, allocations: 1.668 MB / 493.3 MB, free: 12.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007844/0.4412, allocations: 2.035 MB / 495.4 MB, free: 10.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005829/0.4471, allocations: 3.157 MB / 498.5 MB, free: 7.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01138/0.4585, allocations: 6.087 MB / 0.4928 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02712/0.4856, allocations: 22.33 MB / 0.5146 GB, free: 10.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4857, allocations: 0 / 0.5146 GB, free: 10.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4857, allocations: 0 / 0.5146 GB, free: 10.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006164/0.4863, allocations: 0 / 0.5146 GB, free: 10.88 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03991/0.5262, allocations: 12.72 MB / 0.527 GB, free: 14.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5263, allocations: 8.031 kB / 0.527 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03611/0.5624, allocations: 6.197 MB / 0.5331 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.5764, allocations: 6.909 MB / 0.5398 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006811/0.5771, allocations: 0.6985 MB / 0.5405 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4205/0.9976, allocations: 0.9161 MB / 0.5414 GB, free: 115.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0385/1.036, allocations: 15.75 MB / 0.5568 GB, free: 109.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002917/1.036, allocations: 15.47 kB / 0.5568 GB, free: 109.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/1.039, allocations: 386.5 kB / 0.5572 GB, free: 109.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005014/1.04, allocations: 0.5557 MB / 0.5577 GB, free: 109.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03642/1.076, allocations: 14.77 MB / 0.5721 GB, free: 97.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/1.188, allocations: 50.99 MB / 0.6219 GB, free: 45.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/1.207, allocations: 26.46 MB / 0.6478 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004675/1.212, allocations: 3.202 MB / 0.6509 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/1.213, allocations: 167 kB / 0.651 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/1.213, allocations: 73.69 kB / 0.6511 GB, free: 12.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 5.902e-06/1.213, allocations: 3.219 kB / 0.6511 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04032/1.253, allocations: 17.29 MB / 0.668 GB, free: 11.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/1.253, allocations: 98.58 kB / 0.6681 GB, free: 11.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009145/1.262, allocations: 3.688 MB / 0.6717 GB, free: 7.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005597/1.263, allocations: 85.7 kB / 0.6718 GB, free: 7.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003214/1.266, allocations: 3.989 MB / 0.6757 GB, free: 3.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.268, allocations: 1.377 MB / 0.677 GB, free: 1.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00252/1.27, allocations: 1.136 MB / 0.6781 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/1.27, allocations: 305.1 kB / 0.6784 GB, free: 464 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00488/1.275, allocations: 2.791 MB / 0.6811 GB, free: 13.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/1.281, allocations: 4.956 MB / 0.686 GB, free: 7.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.293, allocations: 8.311 MB / 0.6941 GB, free: 14.4 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.531e-05/1.293, allocations: 24 kB / 0.6941 GB, free: 14.38 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0164/1.309, allocations: 9.087 MB / 0.703 GB, free: 5.262 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/1.309, allocations: 36 kB / 0.703 GB, free: 5.227 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/1.309, allocations: 76.02 kB / 0.7031 GB, free: 5.152 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/1.313, allocations: 1.229 MB / 0.7043 GB, free: 3.926 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004917/1.318, allocations: 1.314 MB / 0.7056 GB, free: 2.609 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.333, allocations: 9.924 MB / 0.7153 GB, free: 8.555 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/1.338, allocations: 335.4 kB / 0.7156 GB, free: 8.227 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.339, allocations: 284 kB / 0.7159 GB, free: 7.949 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008885/1.348, allocations: 3.717 MB / 0.7195 GB, free: 4.219 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.35, allocations: 395.1 kB / 0.7199 GB, free: 3.828 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/1.364, allocations: 6.697 MB / 0.7264 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009449/1.373, allocations: 5.591 MB / 0.7319 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/1.373, allocations: 8 kB / 0.7319 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/1.373, allocations: 19.92 kB / 0.7319 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2823/1.655, allocations: 15.77 MB / 0.7473 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.656, allocations: 3.969 kB / 0.7473 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.658, allocations: 0.7134 MB / 0.748 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/1.661, allocations: 1.12 MB / 0.7491 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003025/1.661, allocations: 87.5 kB / 0.7492 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/1.673, allocations: 8.844 MB / 0.7578 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.673, allocations: 9.047 kB / 0.7578 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.687, allocations: 9.848 MB / 0.7674 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/1.689, allocations: 0.9607 MB / 0.7684 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005818/1.69, allocations: 80.56 kB / 0.7685 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.692, allocations: 201.7 kB / 0.7687 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005568/1.692, allocations: 287.6 kB / 0.7689 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.693, allocations: 117.2 kB / 0.769 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003148/1.696, allocations: 2.488 MB / 0.7715 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/1.696, allocations: 3.781 kB / 0.7715 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004756/1.7, allocations: 1.609 MB / 0.773 GB, free: 162.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005723/1.701, allocations: 290.3 kB / 0.7733 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009873/1.711, allocations: 7.136 MB / 0.7803 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.711, allocations: 4 kB / 0.7803 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005118/1.716, allocations: 3.398 MB / 0.7836 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005255/1.721, allocations: 0.9602 MB / 0.7846 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.748, allocations: 16.1 MB / 0.8003 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007529/1.755, allocations: 6.005 MB / 0.8061 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/1.758, allocations: 387.4 kB / 0.8065 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.223e-06/1.758, allocations: 0 / 0.8065 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.4504/2.208, allocations: 158.5 MB / 0.9613 GB, free: 178.8 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches