Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 119.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 203.5 kB / 19.36 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001168, allocations: 60.28 kB / 308.4 MB, free: 15.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 50.54 MB / 358.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2658/0.3823, allocations: 26.99 MB / 385.9 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.4025, allocations: 8.167 MB / 394.1 MB, free: 1.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008266/0.4108, allocations: 196.8 kB / 394.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02405/0.435, allocations: 9.368 MB / 403.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01563/0.4506, allocations: 3.304 MB / 407 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007055/0.4577, allocations: 1.836 MB / 408.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02066/0.4784, allocations: 12.24 MB / 421 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03656/0.515, allocations: 24.39 MB / 445.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01113/0.5261, allocations: 6.46 MB / 451.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0151/0.5413, allocations: 7.203 MB / 459.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007498/0.5488, allocations: 1.844 MB / 460.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009424/0.5583, allocations: 2.214 MB / 463.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00685/0.5652, allocations: 3.612 MB / 466.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01613/0.5813, allocations: 6.923 MB / 473.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03386/0.6152, allocations: 24.75 MB / 498.4 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6153, allocations: 0 / 498.4 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.6153, allocations: 0 / 498.4 MB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007419/0.616, allocations: 3.938 kB / 498.4 MB, free: 15.91 MB / 414.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.05249/0.6685, allocations: 14.51 MB / 0.5009 GB, free: 1.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.6686, allocations: 16.02 kB / 0.5009 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04897/0.7176, allocations: 8.497 MB / 0.5092 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/0.7383, allocations: 7.644 MB / 0.5167 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009468/0.7393, allocations: 0.8068 MB / 0.5175 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005342/0.7447, allocations: 1.055 MB / 0.5185 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5363/1.281, allocations: 18.28 MB / 0.5364 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005176/1.282, allocations: 18.34 kB / 0.5364 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002832/1.284, allocations: 449.6 kB / 0.5368 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000924/1.285, allocations: 0.6694 MB / 0.5375 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04478/1.33, allocations: 17.54 MB / 0.5546 GB, free: 114.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1075/1.438, allocations: 59.2 MB / 0.6124 GB, free: 67.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02457/1.462, allocations: 37.47 MB / 0.649 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005887/1.468, allocations: 4.117 MB / 0.653 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/1.469, allocations: 276.7 kB / 0.6533 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/1.469, allocations: 90.62 kB / 0.6534 GB, free: 21.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=518): time 6.612e-06/1.469, allocations: 0 / 0.6534 GB, free: 21.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=524): time 0.04344/1.512, allocations: 21.44 MB / 0.6743 GB, free: 15.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/1.512, allocations: 103.5 kB / 0.6744 GB, free: 15.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008996/1.521, allocations: 4.179 MB / 0.6785 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001331/1.523, allocations: 113.7 kB / 0.6786 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00348/1.526, allocations: 4.503 MB / 0.683 GB, free: 6.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002873/1.529, allocations: 1.784 MB / 0.6847 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002628/1.532, allocations: 1.351 MB / 0.6861 GB, free: 3.805 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/1.532, allocations: 301.1 kB / 0.6864 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006557/1.538, allocations: 3.445 MB / 0.6897 GB, free: 60 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009341/1.548, allocations: 5.885 MB / 0.6955 GB, free: 9.082 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/1.564, allocations: 10.01 MB / 0.7052 GB, free: 13.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.763e-05/1.564, allocations: 24 kB / 0.7053 GB, free: 13.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02235/1.586, allocations: 10.94 MB / 0.716 GB, free: 2.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/1.586, allocations: 40 kB / 0.716 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/1.586, allocations: 79.98 kB / 0.7161 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/1.59, allocations: 1.449 MB / 0.7175 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.239/1.829, allocations: 1.608 MB / 0.7191 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/1.846, allocations: 11.48 MB / 0.7303 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.851, allocations: 409.2 kB / 0.7307 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.852, allocations: 336.7 kB / 0.731 GB, free: 152.5 MB / 494.1 MB 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.007257/1.859, allocations: 4.163 MB / 0.735 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.86, allocations: 476.9 kB / 0.7355 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.874, allocations: 8.484 MB / 0.7438 GB, free: 147.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01002/1.884, allocations: 7.083 MB / 0.7507 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.884, allocations: 11.91 kB / 0.7507 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.797e-05/1.885, allocations: 26.86 kB / 0.7507 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/1.915, allocations: 18.75 MB / 0.769 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.915, allocations: 3.812 kB / 0.769 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/1.919, allocations: 0.9326 MB / 0.77 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/1.922, allocations: 1.305 MB / 0.7712 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007332/1.923, allocations: 111.4 kB / 0.7713 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.935, allocations: 10.18 MB / 0.7813 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.935, allocations: 7.938 kB / 0.7813 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/1.951, allocations: 12.27 MB / 0.7933 GB, free: 115.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003615/1.954, allocations: 1.159 MB / 0.7944 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.956, allocations: 92 kB / 0.7945 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002824/1.959, allocations: 278.5 kB / 0.7948 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007097/1.959, allocations: 344.5 kB / 0.7951 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002875/1.96, allocations: 148 kB / 0.7952 GB, free: 113.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003746/1.963, allocations: 2.819 MB / 0.798 GB, free: 110.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.963, allocations: 0 / 0.798 GB, free: 110.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00687/1.97, allocations: 1.937 MB / 0.7999 GB, free: 108.3 MB / 494.1 MB 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.0008509/1.971, allocations: 305.5 kB / 0.8002 GB, free: 108 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01331/1.984, allocations: 8.737 MB / 0.8087 GB, free: 99.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/1.984, allocations: 0 / 0.8087 GB, free: 99.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006488/1.991, allocations: 4.192 MB / 0.8128 GB, free: 95.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/1.996, allocations: 1.138 MB / 0.8139 GB, free: 93.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/2.027, allocations: 19.2 MB / 0.8327 GB, free: 74.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009057/2.036, allocations: 7.009 MB / 0.8395 GB, free: 67.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005763/2.041, allocations: 2.321 MB / 0.8418 GB, free: 65.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/2.043, allocations: 423.4 kB / 0.8422 GB, free: 64.84 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/2.043, allocations: 0 / 0.8422 GB, free: 64.84 MB / 494.1 MB Notification: Performance of Templates: time 0.3152/2.358, allocations: 76.37 MB / 0.9167 GB, free: 147.2 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches