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.001121/0.001121, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.00107/0.00107, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.406/1.406, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 51.91 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3201, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02471/0.3449, allocations: 24.84 MB / 426.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3621, allocations: 7.821 MB / 434.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006414/0.3686, allocations: 183.4 kB / 434.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02081/0.3894, allocations: 8.36 MB / 442.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.4012, allocations: 2.984 MB / 445.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006074/0.4073, allocations: 1.815 MB / 447.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0161/0.4234, allocations: 11.1 MB / 458.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03796/0.4614, allocations: 23.31 MB / 481.8 MB, free: 8.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.4725, allocations: 5.903 MB / 487.7 MB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01225/0.4848, allocations: 6.432 MB / 494.1 MB, free: 11.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005056/0.4899, allocations: 1.715 MB / 495.9 MB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007155/0.4971, allocations: 2.128 MB / 498 MB, free: 7.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005951/0.5031, allocations: 3.387 MB / 0.4896 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01327/0.5164, allocations: 6.354 MB / 0.4958 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02677/0.5432, allocations: 23.1 MB / 0.5184 GB, free: 6.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.5432, allocations: 4 kB / 0.5184 GB, free: 6.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5432, allocations: 0 / 0.5184 GB, free: 6.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006836/0.5439, allocations: 0 / 0.5184 GB, free: 6.941 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.04511/0.5891, allocations: 13.38 MB / 0.5315 GB, free: 9.457 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.5891, allocations: 15.97 kB / 0.5315 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03645/0.6256, allocations: 6.262 MB / 0.5376 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5429/1.169, allocations: 7.24 MB / 0.5447 GB, free: 113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005183/1.169, allocations: 0.7168 MB / 0.5454 GB, free: 112.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00369/1.173, allocations: 0.943 MB / 0.5463 GB, free: 112.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03517/1.208, allocations: 16.13 MB / 0.562 GB, free: 105.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/1.208, allocations: 16.77 kB / 0.5621 GB, free: 105.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002429/1.211, allocations: 402 kB / 0.5624 GB, free: 105.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004365/1.211, allocations: 0.5606 MB / 0.563 GB, free: 105.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/1.241, allocations: 15.11 MB / 0.5777 GB, free: 90.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07417/1.315, allocations: 51.99 MB / 0.6285 GB, free: 37.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/1.33, allocations: 20.09 MB / 0.6481 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005001/1.335, allocations: 3.633 MB / 0.6517 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/1.335, allocations: 183.7 kB / 0.6519 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/1.335, allocations: 78.06 kB / 0.6519 GB, free: 11.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 6.182e-06/1.335, allocations: 0 / 0.6519 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.04562/1.381, allocations: 20.63 MB / 0.6721 GB, free: 7.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.381, allocations: 98.95 kB / 0.6722 GB, free: 6.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006413/1.387, allocations: 4.493 MB / 0.6766 GB, free: 2.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007561/1.388, allocations: 93.7 kB / 0.6767 GB, free: 2.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002842/1.391, allocations: 4.2 MB / 0.6808 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001791/1.393, allocations: 1.539 MB / 0.6823 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/1.395, allocations: 1.188 MB / 0.6834 GB, free: 11.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.376e-05/1.395, allocations: 313.1 kB / 0.6837 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004611/1.399, allocations: 3.061 MB / 0.6867 GB, free: 8.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006053/1.405, allocations: 5.215 MB / 0.6918 GB, free: 1.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/1.418, allocations: 8.868 MB / 0.7005 GB, free: 7.98 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.867e-05/1.418, allocations: 20 kB / 0.7005 GB, free: 7.961 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01816/1.436, allocations: 9.854 MB / 0.7101 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-05/1.437, allocations: 40.28 kB / 0.7101 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.437, allocations: 72 kB / 0.7102 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/1.441, allocations: 1.407 MB / 0.7116 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005238/1.446, allocations: 1.384 MB / 0.7129 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/1.463, allocations: 12.66 MB / 0.7253 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/1.468, allocations: 359.4 kB / 0.7256 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.469, allocations: 292 kB / 0.7259 GB, free: 13.62 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.006848/1.476, allocations: 3.889 MB / 0.7297 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.477, allocations: 458.3 kB / 0.7302 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/1.491, allocations: 8.51 MB / 0.7385 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3077/1.799, allocations: 6.237 MB / 0.7446 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/1.799, allocations: 19.72 kB / 0.7446 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.755e-05/1.799, allocations: 22.41 kB / 0.7446 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02925/1.828, allocations: 17.4 MB / 0.7616 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/1.828, allocations: 7.844 kB / 0.7616 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/1.831, allocations: 0.7994 MB / 0.7624 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/1.835, allocations: 1.285 MB / 0.7636 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006463/1.836, allocations: 109 kB / 0.7637 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/1.849, allocations: 11.56 MB / 0.775 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/1.849, allocations: 14.94 kB / 0.775 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.866, allocations: 11.19 MB / 0.786 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002786/1.869, allocations: 1.088 MB / 0.787 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009283/1.87, allocations: 84.5 kB / 0.7871 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.872, allocations: 240.5 kB / 0.7873 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006755/1.873, allocations: 323.6 kB / 0.7877 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/1.873, allocations: 139.5 kB / 0.7878 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004207/1.877, allocations: 3.1 MB / 0.7908 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.877, allocations: 0 / 0.7908 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007203/1.885, allocations: 1.729 MB / 0.7925 GB, free: 146.7 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.001737/1.886, allocations: 0.5437 MB / 0.793 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.899, allocations: 7.983 MB / 0.8008 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.899, allocations: 4 kB / 0.8008 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006759/1.906, allocations: 3.938 MB / 0.8047 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.006403/1.912, allocations: 1.052 MB / 0.8057 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0346/1.947, allocations: 17.77 MB / 0.8231 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007482/1.954, allocations: 6.318 MB / 0.8292 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/1.956, allocations: 427.3 kB / 0.8296 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/1.956, allocations: 0 / 0.8296 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.5332/2.489, allocations: 227.1 MB / 1.051 GB, free: 92.45 MB / 0.545 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/jenkins1/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/jenkins1/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