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.001057/0.001057, allocations: 115.5 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2077, allocations: 50.54 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02714/0.2349, allocations: 27 MB / 437 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.2491, allocations: 8.149 MB / 445.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003821/0.253, allocations: 199.4 kB / 445.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01999/0.273, allocations: 9.434 MB / 454.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009505/0.2825, allocations: 3.357 MB / 458.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004666/0.2872, allocations: 1.835 MB / 460 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.3007, allocations: 12.24 MB / 472.2 MB, free: 3.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03364/0.3343, allocations: 24.38 MB / 496.6 MB, free: 10.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008158/0.3425, allocations: 6.48 MB / 0.4913 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.3526, allocations: 7.207 MB / 0.4983 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00374/0.3563, allocations: 1.836 MB / 0.5001 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005688/0.362, allocations: 2.23 MB / 0.5023 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.3664, allocations: 3.609 MB / 0.5058 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009394/0.3758, allocations: 6.93 MB / 0.5126 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02478/0.4006, allocations: 24.81 MB / 0.5368 GB, free: 5.309 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4007, allocations: 0 / 0.5368 GB, free: 5.309 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4007, allocations: 0 / 0.5368 GB, free: 5.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005526/0.4012, allocations: 0 / 0.5368 GB, free: 5.309 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.389/0.7902, allocations: 14.77 MB / 0.5512 GB, free: 69.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7903, allocations: 7.656 kB / 0.5512 GB, free: 69.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04355/0.8338, allocations: 8.55 MB / 0.5596 GB, free: 68.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.846, allocations: 7.676 MB / 0.5671 GB, free: 65.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004763/0.8465, allocations: 0.8058 MB / 0.5679 GB, free: 64.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.8492, allocations: 1.056 MB / 0.5689 GB, free: 63.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02905/0.8783, allocations: 18.29 MB / 0.5867 GB, free: 44.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/0.8785, allocations: 15.91 kB / 0.5868 GB, free: 44.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001632/0.8802, allocations: 453.2 kB / 0.5872 GB, free: 44.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004518/0.8806, allocations: 0.6672 MB / 0.5878 GB, free: 43.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02555/0.9062, allocations: 17.54 MB / 0.605 GB, free: 26.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07738/0.9836, allocations: 59.34 MB / 0.6629 GB, free: 14.76 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03103/1.015, allocations: 37.48 MB / 0.6995 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005886/1.021, allocations: 4.097 MB / 0.7035 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005043/1.021, allocations: 277.9 kB / 0.7038 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/1.021, allocations: 90.62 kB / 0.7039 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 7.604e-06/1.021, allocations: 0 / 0.7039 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.04586/1.067, allocations: 21.58 MB / 0.7249 GB, free: 11.21 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.067, allocations: 107.5 kB / 0.7251 GB, free: 11.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006478/1.074, allocations: 4.187 MB / 0.7291 GB, free: 6.875 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/1.074, allocations: 105.7 kB / 0.7292 GB, free: 6.766 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002909/1.077, allocations: 4.673 MB / 0.7338 GB, free: 2.082 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.078, allocations: 1.865 MB / 0.7356 GB, free: 248 kB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/1.08, allocations: 1.359 MB / 0.737 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/1.081, allocations: 301.1 kB / 0.7372 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005339/1.086, allocations: 3.445 MB / 0.7406 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006884/1.093, allocations: 5.883 MB / 0.7464 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.105, allocations: 10.01 MB / 0.7561 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.736e-05/1.106, allocations: 24 kB / 0.7562 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.212/1.317, allocations: 10.96 MB / 0.7668 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.318, allocations: 37.88 kB / 0.7669 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/1.318, allocations: 81.03 kB / 0.767 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/1.322, allocations: 1.453 MB / 0.7684 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/1.328, allocations: 1.613 MB / 0.77 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/1.342, allocations: 11.5 MB / 0.7812 GB, free: 220.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/1.346, allocations: 408.6 kB / 0.7816 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005085/1.347, allocations: 336 kB / 0.7819 GB, free: 220.6 MB / 0.5919 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.00509/1.352, allocations: 4.166 MB / 0.786 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008667/1.353, allocations: 497.7 kB / 0.7864 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.365, allocations: 8.478 MB / 0.7947 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.022e-05/1.365, allocations: 26.81 kB / 0.7947 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.365, allocations: 0 / 0.7947 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/1.367, allocations: 1.2 MB / 0.7959 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000591/1.368, allocations: 101.7 kB / 0.796 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.37, allocations: 273.4 kB / 0.7963 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005914/1.37, allocations: 379.6 kB / 0.7966 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01159/1.382, allocations: 8.047 MB / 0.8045 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01158/1.394, allocations: 10.44 MB / 0.8147 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003384/1.397, allocations: 3.226 MB / 0.8178 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003303/1.4, allocations: 2.821 MB / 0.8206 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of Backend: time 4.81e-07/1.4, allocations: 0 / 0.8206 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009735/1.41, allocations: 6.325 MB / 0.8268 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02241/1.432, allocations: 18.14 MB / 0.8445 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1167/1.549, allocations: 91.16 MB / 0.9335 GB, free: 84.88 MB / 0.5919 GB 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 -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