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.001669/0.001669, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001776/0.001776, allocations: 191 kB / 17.99 MB, free: 5.109 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.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 43.94 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3681, allocations: 49.44 MB / 400.8 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02491/0.393, allocations: 24.83 MB / 425.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.4096, allocations: 7.821 MB / 433.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005791/0.4154, allocations: 183.4 kB / 433.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01918/0.4346, allocations: 8.359 MB / 442 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.4462, allocations: 2.992 MB / 445 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005954/0.4522, allocations: 1.8 MB / 446.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.4686, allocations: 11.11 MB / 457.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0357/0.5043, allocations: 23.31 MB / 481.2 MB, free: 8.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008758/0.5131, allocations: 5.919 MB / 487.1 MB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.5249, allocations: 6.44 MB / 493.5 MB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005322/0.5302, allocations: 1.715 MB / 495.3 MB, free: 9.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006676/0.5369, allocations: 2.125 MB / 497.4 MB, free: 7.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004261/0.5412, allocations: 3.387 MB / 0.489 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01152/0.5528, allocations: 6.358 MB / 0.4952 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02744/0.5802, allocations: 23.11 MB / 0.5178 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5803, allocations: 0 / 0.5178 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5803, allocations: 0 / 0.5178 GB, free: 6.914 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005934/0.5809, allocations: 0 / 0.5178 GB, free: 6.914 MB / 446.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.04375/0.6246, allocations: 13.38 MB / 0.5309 GB, free: 9.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6247, allocations: 8.031 kB / 0.5309 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03633/0.661, allocations: 6.262 MB / 0.537 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.459/1.12, allocations: 7.246 MB / 0.5441 GB, free: 113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005939/1.121, allocations: 0.7174 MB / 0.5448 GB, free: 112.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004753/1.125, allocations: 0.9422 MB / 0.5457 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04346/1.169, allocations: 16.14 MB / 0.5615 GB, free: 105.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005508/1.169, allocations: 12.81 kB / 0.5615 GB, free: 105.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004122/1.174, allocations: 401.2 kB / 0.5619 GB, free: 105.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005799/1.174, allocations: 0.5608 MB / 0.5624 GB, free: 105.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03275/1.207, allocations: 15.11 MB / 0.5772 GB, free: 90.26 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09064/1.298, allocations: 52.01 MB / 0.6279 GB, free: 37.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01804/1.316, allocations: 20.09 MB / 0.6476 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005455/1.321, allocations: 3.633 MB / 0.6511 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/1.322, allocations: 183.5 kB / 0.6513 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/1.322, allocations: 78.06 kB / 0.6514 GB, free: 11.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 5.831e-06/1.322, allocations: 0 / 0.6514 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.05712/1.379, allocations: 20.62 MB / 0.6715 GB, free: 7.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/1.379, allocations: 98.95 kB / 0.6716 GB, free: 6.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009037/1.388, allocations: 4.493 MB / 0.676 GB, free: 2.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009456/1.389, allocations: 97.7 kB / 0.6761 GB, free: 2.332 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003485/1.393, allocations: 4.194 MB / 0.6802 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002226/1.395, allocations: 1.534 MB / 0.6817 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003836/1.399, allocations: 1.192 MB / 0.6828 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/1.399, allocations: 309.1 kB / 0.6831 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006115/1.405, allocations: 3.065 MB / 0.6861 GB, free: 8.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007805/1.413, allocations: 5.215 MB / 0.6912 GB, free: 1.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/1.428, allocations: 8.868 MB / 0.6999 GB, free: 7.988 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-05/1.428, allocations: 24 kB / 0.6999 GB, free: 7.965 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02119/1.449, allocations: 9.851 MB / 0.7095 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/1.449, allocations: 44 kB / 0.7096 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/1.449, allocations: 71.94 kB / 0.7096 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/1.453, allocations: 1.399 MB / 0.711 GB, free: 12.58 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005799/1.459, allocations: 1.388 MB / 0.7124 GB, free: 11.19 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/1.479, allocations: 12.67 MB / 0.7247 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006021/1.485, allocations: 351.5 kB / 0.7251 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001679/1.487, allocations: 296 kB / 0.7254 GB, free: 13.61 MB / 0.5294 GB 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008824/1.496, allocations: 3.885 MB / 0.7291 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001694/1.497, allocations: 462.2 kB / 0.7296 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/1.514, allocations: 8.506 MB / 0.7379 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2857/1.8, allocations: 6.241 MB / 0.744 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/1.8, allocations: 15.75 kB / 0.744 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-05/1.8, allocations: 22.88 kB / 0.744 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02852/1.829, allocations: 17.4 MB / 0.761 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/1.829, allocations: 5.594 kB / 0.761 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/1.832, allocations: 0.812 MB / 0.7618 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/1.836, allocations: 1.284 MB / 0.7631 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005756/1.836, allocations: 106 kB / 0.7632 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/1.849, allocations: 11.55 MB / 0.7744 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.85, allocations: 14.94 kB / 0.7745 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.865, allocations: 11.19 MB / 0.7854 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002755/1.868, allocations: 1.083 MB / 0.7864 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006924/1.869, allocations: 95.2 kB / 0.7865 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.871, allocations: 225.8 kB / 0.7868 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007772/1.872, allocations: 332.6 kB / 0.7871 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/1.872, allocations: 136.8 kB / 0.7872 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004424/1.876, allocations: 3.107 MB / 0.7902 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/1.876, allocations: 0 / 0.7902 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006311/1.883, allocations: 1.731 MB / 0.7919 GB, free: 146.8 MB / 0.5294 GB 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/1.884, allocations: 0.5435 MB / 0.7925 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.896, allocations: 7.977 MB / 0.8002 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.896, allocations: 0 / 0.8002 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006262/1.902, allocations: 3.938 MB / 0.8041 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006266/1.908, allocations: 1.062 MB / 0.8051 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/1.937, allocations: 18.02 MB / 0.8227 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005786/1.943, allocations: 6.501 MB / 0.8291 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005403/1.948, allocations: 2.123 MB / 0.8312 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.949, allocations: 383.4 kB / 0.8315 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/1.949, allocations: 0 / 0.8315 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1025/2.052, allocations: 72.11 MB / 0.9019 GB, free: 34.73 MB / 0.5294 GB 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