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.0007449/0.0007446, allocations: 93.17 kB / 16.65 MB, free: 6.59 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.001055/0.001055, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.326/1.326, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 7.938 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 50.41 MB / 351.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.207/0.3216, allocations: 23.23 MB / 375.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.3351, allocations: 7.214 MB / 382.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003875/0.339, allocations: 173.4 kB / 382.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006368/0.3454, allocations: 1.783 MB / 384.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.3556, allocations: 2.663 MB / 386.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004767/0.3604, allocations: 1.479 MB / 388.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01426/0.3746, allocations: 10.61 MB / 399 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04056/0.4152, allocations: 22.11 MB / 421.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008231/0.4235, allocations: 4.032 MB / 425.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008727/0.4323, allocations: 4.777 MB / 429.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002726/0.435, allocations: 0.6406 MB / 430.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.4405, allocations: 1.005 MB / 431.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003478/0.444, allocations: 1.935 MB / 433.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009882/0.4539, allocations: 4.775 MB / 438.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02633/0.4803, allocations: 20.99 MB / 459.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4803, allocations: 0 / 459.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4803, allocations: 0 / 459.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006236/0.481, allocations: 0 / 459.3 MB, free: 10.16 MB / 366.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.03325/0.5142, allocations: 10.69 MB / 470 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5143, allocations: 8.031 kB / 470 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0357/0.55, allocations: 6.173 MB / 476.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.564, allocations: 6.757 MB / 482.9 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007633/0.5648, allocations: 0.7064 MB / 483.6 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003401/0.5682, allocations: 0.9178 MB / 484.5 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04071/0.609, allocations: 15.77 MB / 0.4886 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004511/0.6095, allocations: 11.91 kB / 0.4886 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004036/0.6135, allocations: 396 kB / 0.489 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006272/0.6141, allocations: 0.547 MB / 0.4895 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/0.6492, allocations: 14.78 MB / 0.5039 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4976/1.147, allocations: 51.74 MB / 0.5545 GB, free: 92.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02321/1.17, allocations: 26.47 MB / 0.5803 GB, free: 66.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006891/1.177, allocations: 3.269 MB / 0.5835 GB, free: 65.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/1.178, allocations: 164.6 kB / 0.5837 GB, free: 65.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.724e-05/1.178, allocations: 81.11 kB / 0.5837 GB, free: 65.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=404): time 1.021e-05/1.178, allocations: 0 / 0.5837 GB, free: 65.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=410): time 0.04207/1.22, allocations: 17.36 MB / 0.6007 GB, free: 54.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.22, allocations: 90.59 kB / 0.6008 GB, free: 54.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00694/1.227, allocations: 3.692 MB / 0.6044 GB, free: 51.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000801/1.228, allocations: 89.7 kB / 0.6045 GB, free: 51.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.23, allocations: 3.973 MB / 0.6083 GB, free: 47.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001632/1.232, allocations: 1.394 MB / 0.6097 GB, free: 45.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/1.233, allocations: 470.8 kB / 0.6102 GB, free: 45.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/1.233, allocations: 309 kB / 0.6105 GB, free: 44.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/1.238, allocations: 2.838 MB / 0.6132 GB, free: 42.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0056/1.244, allocations: 4.993 MB / 0.6181 GB, free: 36.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.254, allocations: 8.409 MB / 0.6263 GB, free: 26.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.312e-05/1.254, allocations: 20 kB / 0.6263 GB, free: 26.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01684/1.271, allocations: 9.162 MB / 0.6353 GB, free: 17.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.271, allocations: 36 kB / 0.6353 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/1.271, allocations: 72.03 kB / 0.6354 GB, free: 17.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003602/1.275, allocations: 1.198 MB / 0.6366 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005112/1.28, allocations: 1.318 MB / 0.6378 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.294, allocations: 9.131 MB / 0.6468 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/1.299, allocations: 339.4 kB / 0.6471 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.3, allocations: 284 kB / 0.6473 GB, free: 4.984 MB / 430.1 MB 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008641/1.309, allocations: 3.708 MB / 0.651 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/1.311, allocations: 399 kB / 0.6514 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/1.326, allocations: 6.769 MB / 0.658 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01092/1.337, allocations: 5.662 MB / 0.6635 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/1.337, allocations: 12 kB / 0.6635 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.881e-05/1.337, allocations: 27.91 kB / 0.6635 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03471/1.372, allocations: 16.2 MB / 0.6794 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/1.372, allocations: 4 kB / 0.6794 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.375, allocations: 0.7221 MB / 0.6801 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/1.379, allocations: 1.082 MB / 0.6811 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006658/1.379, allocations: 87.98 kB / 0.6812 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/1.392, allocations: 8.068 MB / 0.6891 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.392, allocations: 4 kB / 0.6891 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2447/1.637, allocations: 9.96 MB / 0.6988 GB, free: 152.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/1.64, allocations: 0.9774 MB / 0.6998 GB, free: 152.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007363/1.641, allocations: 79.39 kB / 0.6998 GB, free: 152.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.643, allocations: 209.2 kB / 0.7 GB, free: 152.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008157/1.644, allocations: 290.2 kB / 0.7003 GB, free: 152.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/1.644, allocations: 120.8 kB / 0.7004 GB, free: 152.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005612/1.65, allocations: 2.492 MB / 0.7029 GB, free: 152.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.22e-07/1.65, allocations: 1.438 kB / 0.7029 GB, free: 152.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006852/1.657, allocations: 1.609 MB / 0.7044 GB, free: 152.6 MB / 478.1 MB 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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008564/1.658, allocations: 284.3 kB / 0.7047 GB, free: 152.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01268/1.67, allocations: 7.205 MB / 0.7117 GB, free: 151.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.671, allocations: 4.969 kB / 0.7117 GB, free: 151.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006969/1.677, allocations: 3.432 MB / 0.7151 GB, free: 149.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007233/1.685, allocations: 0.9236 MB / 0.716 GB, free: 149.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/1.712, allocations: 20.62 MB / 0.7361 GB, free: 138.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006833/1.719, allocations: 6.195 MB / 0.7422 GB, free: 135.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005259/1.725, allocations: 1.91 MB / 0.7441 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.726, allocations: 345.3 kB / 0.7444 GB, free: 134.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/1.726, allocations: 0 / 0.7444 GB, free: 134.8 MB / 478.1 MB Notification: Performance of Templates: time 0.09876/1.824, allocations: 65.89 MB / 0.8087 GB, free: 70.59 MB / 478.1 MB 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/jenkins/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/jenkins/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