Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 59.66 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09925, allocations: 50.53 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1818/0.2811, allocations: 24.79 MB / 382.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.295, allocations: 7.461 MB / 389.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004131/0.2991, allocations: 191.5 kB / 389.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01739/0.3165, allocations: 8.77 MB / 398.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009519/0.3261, allocations: 2.913 MB / 401.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.3307, allocations: 1.745 MB / 403.4 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.3445, allocations: 10.74 MB / 414.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02692/0.3715, allocations: 21.92 MB / 436 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007303/0.3788, allocations: 5.693 MB / 441.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00838/0.3872, allocations: 6.327 MB / 448 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002864/0.3901, allocations: 1.668 MB / 449.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/0.3951, allocations: 2.066 MB / 451.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002964/0.3981, allocations: 3.161 MB / 454.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008434/0.4065, allocations: 6.098 MB / 461 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02171/0.4283, allocations: 22.25 MB / 483.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4283, allocations: 0 / 483.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4283, allocations: 0 / 483.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004377/0.4288, allocations: 7.938 kB / 483.3 MB, free: 14.05 MB / 398.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.0349/0.4637, allocations: 12.81 MB / 496.1 MB, free: 1.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4637, allocations: 8.031 kB / 496.1 MB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03462/0.4984, allocations: 6.154 MB / 0.4905 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.5138, allocations: 6.734 MB / 0.4971 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006829/0.5145, allocations: 0.7025 MB / 0.4978 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004103/0.5186, allocations: 0.9256 MB / 0.4987 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/0.5584, allocations: 15.74 MB / 0.514 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004996/0.5589, allocations: 11.91 kB / 0.514 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003566/0.5625, allocations: 392 kB / 0.5144 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006114/0.5632, allocations: 0.547 MB / 0.515 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/0.5937, allocations: 14.76 MB / 0.5294 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4037/0.9974, allocations: 52.68 MB / 0.5808 GB, free: 94.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01704/1.014, allocations: 26.46 MB / 0.6067 GB, free: 69.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004224/1.019, allocations: 3.21 MB / 0.6098 GB, free: 67.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/1.019, allocations: 256.6 kB / 0.61 GB, free: 67.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.019, allocations: 73.09 kB / 0.6101 GB, free: 67.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.621e-06/1.019, allocations: 0 / 0.6101 GB, free: 67.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.033/1.052, allocations: 17.29 MB / 0.627 GB, free: 51.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/1.052, allocations: 98.58 kB / 0.6271 GB, free: 51.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/1.056, allocations: 3.688 MB / 0.6307 GB, free: 47.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/1.056, allocations: 97.64 kB / 0.6308 GB, free: 47.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/1.058, allocations: 3.984 MB / 0.6347 GB, free: 43.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006657/1.059, allocations: 1.377 MB / 0.636 GB, free: 42.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/1.06, allocations: 1.14 MB / 0.6371 GB, free: 41.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/1.06, allocations: 301.1 kB / 0.6374 GB, free: 40.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.063, allocations: 2.799 MB / 0.6401 GB, free: 38.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004097/1.067, allocations: 4.956 MB / 0.645 GB, free: 32.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008532/1.076, allocations: 8.306 MB / 0.6531 GB, free: 22.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.847e-05/1.076, allocations: 20 kB / 0.6531 GB, free: 22.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01263/1.088, allocations: 9.103 MB / 0.662 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/1.088, allocations: 32 kB / 0.662 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.743e-05/1.089, allocations: 75.98 kB / 0.6621 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/1.092, allocations: 1.243 MB / 0.6633 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/1.096, allocations: 1.318 MB / 0.6646 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.108, allocations: 9.923 MB / 0.6743 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005008/1.113, allocations: 331.3 kB / 0.6746 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006078/1.114, allocations: 284 kB / 0.6749 GB, free: 416 kB / 446.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 (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.00585/1.12, allocations: 3.714 MB / 0.6785 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000912/1.121, allocations: 399.1 kB / 0.6789 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.132, allocations: 6.701 MB / 0.6854 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008789/1.141, allocations: 5.591 MB / 0.6909 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/1.141, allocations: 12 kB / 0.6909 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-05/1.141, allocations: 19.92 kB / 0.6909 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2263/1.367, allocations: 16.11 MB / 0.7067 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.209e-05/1.367, allocations: 5.562 kB / 0.7067 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/1.371, allocations: 0.7216 MB / 0.7074 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/1.374, allocations: 1.123 MB / 0.7085 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005632/1.375, allocations: 94.5 kB / 0.7086 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.387, allocations: 8.846 MB / 0.7172 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-06/1.387, allocations: 8.438 kB / 0.7172 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.403, allocations: 9.846 MB / 0.7268 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.405, allocations: 0.9605 MB / 0.7278 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/1.406, allocations: 80.09 kB / 0.7278 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.408, allocations: 198 kB / 0.728 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/1.408, allocations: 290.2 kB / 0.7283 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/1.409, allocations: 114 kB / 0.7284 GB, free: 139.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003035/1.412, allocations: 2.499 MB / 0.7308 GB, free: 138.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.412, allocations: 0 / 0.7308 GB, free: 138.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004683/1.416, allocations: 1.609 MB / 0.7324 GB, free: 138.2 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 (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.0005689/1.417, allocations: 289.2 kB / 0.7327 GB, free: 138 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02807/1.445, allocations: 13.66 MB / 0.746 GB, free: 133.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.445, allocations: 0 / 0.746 GB, free: 133.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005952/1.451, allocations: 3.397 MB / 0.7493 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00452/1.456, allocations: 0.9787 MB / 0.7503 GB, free: 129.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/1.482, allocations: 16.61 MB / 0.7665 GB, free: 114.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006366/1.488, allocations: 6.192 MB / 0.7726 GB, free: 109.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004977/1.493, allocations: 1.91 MB / 0.7744 GB, free: 108.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008926/1.494, allocations: 346.9 kB / 0.7748 GB, free: 108.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.113e-06/1.494, allocations: 0 / 0.7748 GB, free: 108.2 MB / 478.1 MB Notification: Performance of Templates: time 0.09298/1.587, allocations: 69.21 MB / 0.8424 GB, free: 39.64 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches