Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 105.5 kB / 18.35 MB, free: 4.762 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.001072/0.001072, allocations: 192 kB / 19.29 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 51.92 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07809/0.0793, allocations: 46.63 MB / 328.8 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02386/0.1032, allocations: 24.97 MB / 353.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.1173, allocations: 7.705 MB / 361.4 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.1206, allocations: 159.5 kB / 361.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0177/0.1383, allocations: 8.358 MB / 369.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009008/0.1473, allocations: 3.039 MB / 373 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004933/0.1523, allocations: 1.805 MB / 374.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1612/0.3135, allocations: 11.21 MB / 386 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02815/0.3417, allocations: 23.36 MB / 409.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00794/0.3497, allocations: 5.974 MB / 415.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02001/0.3697, allocations: 7.599 MB / 422.9 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005352/0.3751, allocations: 1.782 MB / 424.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006496/0.3816, allocations: 2.121 MB / 426.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005271/0.3869, allocations: 3.459 MB / 430.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00919/0.3962, allocations: 6.435 MB / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02064/0.4168, allocations: 23.13 MB / 459.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4169, allocations: 0 / 459.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4169, allocations: 0 / 459.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004386/0.4173, allocations: 0 / 459.9 MB, free: 11.95 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.0347/0.452, allocations: 13.56 MB / 473.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4521, allocations: 15.97 kB / 473.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03953/0.4916, allocations: 7.244 MB / 480.7 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.5065, allocations: 6.499 MB / 487.2 MB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005702/0.5071, allocations: 0.7296 MB / 487.9 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002994/0.5101, allocations: 0.9582 MB / 488.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03657/0.5467, allocations: 16.59 MB / 0.4936 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/0.5471, allocations: 15.89 kB / 0.4936 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002971/0.5501, allocations: 405.8 kB / 0.494 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000627/0.5508, allocations: 0.5869 MB / 0.4946 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03209/0.5829, allocations: 15.8 MB / 0.51 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4487/1.032, allocations: 53.26 MB / 0.562 GB, free: 82.42 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/1.048, allocations: 22.72 MB / 0.5842 GB, free: 66.11 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005244/1.053, allocations: 3.795 MB / 0.5879 GB, free: 66.05 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01711/1.071, allocations: 11.68 MB / 0.5993 GB, free: 63.21 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.071, allocations: 72.55 kB / 0.5994 GB, free: 63.14 MB / 446.2 MB Notification: Performance of pre-optimization done (n=357): time 5.76e-06/1.071, allocations: 0 / 0.5994 GB, free: 63.14 MB / 446.2 MB Notification: Performance of matching and sorting (n=362): time 0.03528/1.106, allocations: 17.51 MB / 0.6165 GB, free: 55.74 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.106, allocations: 91.44 kB / 0.6166 GB, free: 55.67 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006343/1.112, allocations: 4.768 MB / 0.6212 GB, free: 53.18 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0006169/1.113, allocations: 85.11 kB / 0.6213 GB, free: 53.1 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002185/1.115, allocations: 4.48 MB / 0.6257 GB, free: 49.2 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.117, allocations: 1.248 MB / 0.6269 GB, free: 48.12 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002488/1.119, allocations: 1.189 MB / 0.6281 GB, free: 47.44 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/1.119, allocations: 303.3 kB / 0.6284 GB, free: 47.14 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/1.123, allocations: 2.907 MB / 0.6312 GB, free: 44.41 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/1.128, allocations: 5.256 MB / 0.6363 GB, free: 38.08 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008495/1.136, allocations: 8.642 MB / 0.6448 GB, free: 28.65 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/1.136, allocations: 24 kB / 0.6448 GB, free: 28.63 MB / 446.2 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01402/1.15, allocations: 9.616 MB / 0.6542 GB, free: 19.48 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/1.151, allocations: 40 kB / 0.6542 GB, free: 19.44 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/1.151, allocations: 79.98 kB / 0.6543 GB, free: 19.36 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/1.154, allocations: 1.439 MB / 0.6557 GB, free: 17.93 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/1.159, allocations: 1.327 MB / 0.657 GB, free: 16.7 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/1.174, allocations: 12.67 MB / 0.6694 GB, free: 3.812 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/1.179, allocations: 367.5 kB / 0.6697 GB, free: 3.453 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.18, allocations: 302.5 kB / 0.67 GB, free: 3.16 MB / 446.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006691/1.186, allocations: 3.922 MB / 0.6738 GB, free: 15.33 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.188, allocations: 452.4 kB / 0.6743 GB, free: 14.88 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.201, allocations: 6.77 MB / 0.6809 GB, free: 8.109 MB / 462.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009423/1.21, allocations: 5.586 MB / 0.6863 GB, free: 2.531 MB / 462.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/1.21, allocations: 12 kB / 0.6864 GB, free: 2.52 MB / 462.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/1.211, allocations: 19.92 kB / 0.6864 GB, free: 2.5 MB / 462.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.033/1.244, allocations: 15.44 MB / 0.7015 GB, free: 3.062 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.244, allocations: 7.656 kB / 0.7015 GB, free: 3.059 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/1.247, allocations: 0.6634 MB / 0.7021 GB, free: 2.426 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/1.25, allocations: 1.298 MB / 0.7034 GB, free: 1.121 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004368/1.251, allocations: 91.97 kB / 0.7035 GB, free: 1.031 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/1.266, allocations: 11.55 MB / 0.7147 GB, free: 5.25 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.266, allocations: 11.56 kB / 0.7148 GB, free: 5.242 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1998/1.466, allocations: 10 MB / 0.7245 GB, free: 176.6 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003592/1.47, allocations: 1.018 MB / 0.7255 GB, free: 176.5 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/1.471, allocations: 71.72 kB / 0.7256 GB, free: 176.5 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.473, allocations: 220.3 kB / 0.7258 GB, free: 176.5 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000712/1.474, allocations: 271 kB / 0.7261 GB, free: 176.5 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/1.474, allocations: 114.9 kB / 0.7262 GB, free: 176.5 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.005398/1.479, allocations: 3.231 MB / 0.7293 GB, free: 175.3 MB / 494.2 MB Notification: Performance of sort global known variables: time 2.5e-07/1.479, allocations: 0 / 0.7293 GB, free: 175.3 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.006504/1.486, allocations: 1.692 MB / 0.731 GB, free: 175.1 MB / 494.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/1.487, allocations: 0.5085 MB / 0.7315 GB, free: 174.8 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.01175/1.499, allocations: 7.53 MB / 0.7388 GB, free: 171.8 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.499, allocations: 0 / 0.7388 GB, free: 171.8 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.005805/1.505, allocations: 3.605 MB / 0.7423 GB, free: 170.3 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005504/1.51, allocations: 1.026 MB / 0.7433 GB, free: 169.9 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/1.542, allocations: 17.77 MB / 0.7607 GB, free: 162.1 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009672/1.552, allocations: 6.552 MB / 0.7671 GB, free: 159.4 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.006055/1.558, allocations: 2.104 MB / 0.7691 GB, free: 158 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.56, allocations: 350.6 kB / 0.7695 GB, free: 157.7 MB / 494.2 MB Notification: Performance of SimCode: time 1.382e-06/1.56, allocations: 4 kB / 0.7695 GB, free: 157.7 MB / 494.2 MB Notification: Performance of Templates: time 0.1036/1.663, allocations: 65.85 MB / 0.8338 GB, free: 94.09 MB / 494.2 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches