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_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 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_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_4.0.0_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_4.0.0_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.001095/0.001095, allocations: 91.86 kB / 16.31 MB, free: 5.672 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.001457/0.001457, allocations: 182.9 kB / 17.21 MB, free: 5.59 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.352/1.352, allocations: 223.3 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002802, allocations: 11.98 kB / 300.8 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1083, allocations: 50.42 MB / 351.3 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2204/0.3288, allocations: 21.61 MB / 372.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.3432, allocations: 7.203 MB / 380.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005498/0.3488, allocations: 164.3 kB / 380.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00652/0.3553, allocations: 1.333 MB / 381.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.3661, allocations: 2.45 MB / 384 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005185/0.3714, allocations: 1.234 MB / 385.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01971/0.3911, allocations: 13.52 MB / 398.8 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04229/0.4334, allocations: 19.31 MB / 418.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.4437, allocations: 4.358 MB / 422.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009899/0.4537, allocations: 4.791 MB / 427.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.4567, allocations: 0.6602 MB / 427.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006028/0.4627, allocations: 1.046 MB / 428.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004048/0.4668, allocations: 2.06 MB / 431 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00507/0.4719, allocations: 2.13 MB / 433.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02248/0.4944, allocations: 19.6 MB / 452.7 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4944, allocations: 4 kB / 452.7 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4945, allocations: 0 / 452.7 MB, free: 316 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006789/0.4951, allocations: 0 / 452.7 MB, free: 316 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03266/0.5278, allocations: 11.34 MB / 464.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5279, allocations: 8.031 kB / 464.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03337/0.5612, allocations: 6.234 MB / 470.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.5757, allocations: 6.993 MB / 477.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007136/0.5765, allocations: 0.7263 MB / 478 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003926/0.5804, allocations: 0.953 MB / 479 MB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04464/0.6251, allocations: 16.07 MB / 495.1 MB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005241/0.6257, allocations: 19.81 kB / 495.1 MB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003632/0.6293, allocations: 403.9 kB / 495.5 MB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000701/0.63, allocations: 0.5553 MB / 496 MB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03437/0.6644, allocations: 15.04 MB / 0.4991 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4958/1.16, allocations: 52.74 MB / 0.5506 GB, free: 92.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/1.176, allocations: 20.09 MB / 0.5702 GB, free: 74.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005524/1.182, allocations: 3.684 MB / 0.5738 GB, free: 72.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/1.182, allocations: 184.2 kB / 0.574 GB, free: 72.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.182, allocations: 81.59 kB / 0.5741 GB, free: 72.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 6.292e-06/1.182, allocations: 0 / 0.5741 GB, free: 72.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.05418/1.236, allocations: 22.9 MB / 0.5964 GB, free: 59.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.236, allocations: 98.97 kB / 0.5965 GB, free: 58.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/1.242, allocations: 4.469 MB / 0.6009 GB, free: 54.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006624/1.243, allocations: 101.7 kB / 0.601 GB, free: 54.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/1.244, allocations: 4.179 MB / 0.6051 GB, free: 50.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.246, allocations: 1.559 MB / 0.6066 GB, free: 48.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/1.246, allocations: 128 kB / 0.6067 GB, free: 48.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002646/1.246, allocations: 0.5584 MB / 0.6073 GB, free: 47.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/1.25, allocations: 3.074 MB / 0.6103 GB, free: 44.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004874/1.255, allocations: 5.234 MB / 0.6154 GB, free: 38.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0056/1.261, allocations: 4.273 MB / 0.6195 GB, free: 34.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.845e-05/1.261, allocations: 20 kB / 0.6196 GB, free: 34.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01585/1.277, allocations: 9.87 MB / 0.6292 GB, free: 24.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.306e-05/1.277, allocations: 36.03 kB / 0.6292 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/1.277, allocations: 68 kB / 0.6293 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003354/1.28, allocations: 1.381 MB / 0.6307 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005433/1.286, allocations: 1.384 MB / 0.632 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.3, allocations: 11.65 MB / 0.6434 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005374/1.306, allocations: 355.5 kB / 0.6437 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.307, allocations: 303.9 kB / 0.644 GB, free: 8.984 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008205/1.316, allocations: 3.884 MB / 0.6478 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/1.317, allocations: 466.2 kB / 0.6482 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.334, allocations: 8.564 MB / 0.6566 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01209/1.346, allocations: 6.274 MB / 0.6627 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.743e-05/1.346, allocations: 15.98 kB / 0.6628 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-05/1.346, allocations: 19.92 kB / 0.6628 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0406/1.387, allocations: 17.73 MB / 0.6801 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/1.387, allocations: 8.156 kB / 0.6801 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00382/1.391, allocations: 0.8074 MB / 0.6809 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.394, allocations: 1.274 MB / 0.6821 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009504/1.395, allocations: 104 kB / 0.6822 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/1.412, allocations: 10.56 MB / 0.6925 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/1.412, allocations: 11.94 kB / 0.6925 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2811/1.693, allocations: 11.25 MB / 0.7035 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00357/1.697, allocations: 1.104 MB / 0.7046 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.698, allocations: 90.59 kB / 0.7047 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.701, allocations: 242.2 kB / 0.7049 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007989/1.702, allocations: 323 kB / 0.7052 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00031/1.702, allocations: 145.1 kB / 0.7054 GB, free: 148.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005545/1.708, allocations: 3.076 MB / 0.7084 GB, free: 147.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.423e-06/1.708, allocations: 0 / 0.7084 GB, free: 147.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008172/1.716, allocations: 1.727 MB / 0.7101 GB, free: 147.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/1.718, allocations: 0.5301 MB / 0.7106 GB, free: 147.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01396/1.731, allocations: 8.009 MB / 0.7184 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.732, allocations: 3.938 kB / 0.7184 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006597/1.738, allocations: 3.979 MB / 0.7223 GB, free: 142.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006487/1.745, allocations: 1.011 MB / 0.7233 GB, free: 142.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/1.776, allocations: 21.5 MB / 0.7443 GB, free: 130.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005717/1.781, allocations: 6.512 MB / 0.7506 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005637/1.787, allocations: 2.111 MB / 0.7527 GB, free: 126.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.788, allocations: 380.1 kB / 0.7531 GB, free: 125.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/1.788, allocations: 4 kB / 0.7531 GB, free: 125.7 MB / 478.1 MB Notification: Performance of Templates: time 0.1064/1.895, allocations: 70.12 MB / 0.8215 GB, free: 56.32 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches