Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 93.59 kB / 16.3 MB, free: 6.457 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.0009509/0.000951, allocations: 182.6 kB / 17.2 MB, free: 6.34 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.323/1.323, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002857, allocations: 5.656 kB / 300.7 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09176, allocations: 50.42 MB / 351.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02449/0.1163, allocations: 24.22 MB / 375.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.1318, allocations: 8.321 MB / 383.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/0.1363, allocations: 159.5 kB / 383.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0056/0.1419, allocations: 1.574 MB / 385.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009884/0.1518, allocations: 3.094 MB / 388.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004548/0.1564, allocations: 1.294 MB / 389.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.1683, allocations: 7.275 MB / 397.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/0.1858, allocations: 9.901 MB / 407 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.1907, allocations: 2.897 MB / 409.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.1956, allocations: 3.245 MB / 413.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.1972, allocations: 472 kB / 413.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.201, allocations: 0.7573 MB / 414.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.2032, allocations: 1.483 MB / 415.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.2057, allocations: 1.584 MB / 417.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1983/0.4041, allocations: 13.1 MB / 430.5 MB, free: 18.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4041, allocations: 0 / 430.5 MB, free: 18.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4041, allocations: 0 / 430.5 MB, free: 18.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004089/0.4045, allocations: 0 / 430.5 MB, free: 18.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.0227/0.4272, allocations: 8.189 MB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.4273, allocations: 11.95 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02977/0.4571, allocations: 5.18 MB / 443.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.4697, allocations: 4.927 MB / 448.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005352/0.4702, allocations: 0.5305 MB / 449.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/0.4726, allocations: 0.7103 MB / 450.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.4931, allocations: 11.2 MB / 461.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.4933, allocations: 15.52 kB / 461.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007973/0.4941, allocations: 297 kB / 461.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/0.4945, allocations: 454.8 kB / 462 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.5112, allocations: 10.76 MB / 472.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05414/0.5654, allocations: 38.04 MB / 0.4988 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/0.5846, allocations: 28.04 MB / 0.5262 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01481/0.5995, allocations: 7.898 MB / 0.5339 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.5996, allocations: 60.56 kB / 0.534 GB, free: 11.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=222): time 4.558e-06/0.5996, allocations: 0 / 0.534 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=238): time 0.0195/0.6191, allocations: 10.41 MB / 0.5442 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001817/0.621, allocations: 1.935 MB / 0.5461 GB, free: 14.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/0.627, allocations: 3.681 MB / 0.5496 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003605/0.6274, allocations: 65.7 kB / 0.5497 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00235/0.6298, allocations: 3.562 MB / 0.5532 GB, free: 7.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000967/0.6308, allocations: 0.8462 MB / 0.554 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/0.6311, allocations: 103.8 kB / 0.5541 GB, free: 6.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003832/0.6315, allocations: 0.497 MB / 0.5546 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/0.6347, allocations: 1.888 MB / 0.5564 GB, free: 4.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/0.6394, allocations: 4.434 MB / 0.5608 GB, free: 14.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.6437, allocations: 2.855 MB / 0.5636 GB, free: 11.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-05/0.6438, allocations: 28 kB / 0.5636 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=640) (initialization): time 0.01174/0.6555, allocations: 7.026 MB / 0.5704 GB, free: 5.262 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.6557, allocations: 47.98 kB / 0.5705 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/0.6559, allocations: 88 kB / 0.5706 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.658, allocations: 0.7517 MB / 0.5713 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/0.6617, allocations: 1.144 MB / 0.5724 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006739/0.6685, allocations: 5.375 MB / 0.5777 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/0.6723, allocations: 319 kB / 0.578 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006444/0.673, allocations: 280.2 kB / 0.5782 GB, free: 13.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 403 * 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 (603): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004244/0.6772, allocations: 2.532 MB / 0.5807 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009649/0.6782, allocations: 383.3 kB / 0.5811 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007571/0.6858, allocations: 4.311 MB / 0.5853 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.6858, allocations: 24 kB / 0.5853 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.6858, allocations: 4 kB / 0.5853 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/0.6859, allocations: 11.95 kB / 0.5853 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2184/0.9043, allocations: 14.31 MB / 0.5993 GB, free: 164.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/0.9044, allocations: 12.28 kB / 0.5993 GB, free: 164.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.9062, allocations: 499.5 kB / 0.5998 GB, free: 164.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/0.9082, allocations: 0.6808 MB / 0.6005 GB, free: 164.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.9084, allocations: 80.06 kB / 0.6005 GB, free: 164.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007683/0.9161, allocations: 7.091 MB / 0.6075 GB, free: 160.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001444/0.9176, allocations: 1.876 MB / 0.6093 GB, free: 159.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009221/0.9268, allocations: 8.132 MB / 0.6172 GB, free: 154.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/0.9294, allocations: 0.7879 MB / 0.618 GB, free: 154.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009913/0.9304, allocations: 64.84 kB / 0.6181 GB, free: 154.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/0.9324, allocations: 170.8 kB / 0.6182 GB, free: 154.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/0.9329, allocations: 222.6 kB / 0.6184 GB, free: 154.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.933, allocations: 92.64 kB / 0.6185 GB, free: 154.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003703/0.9367, allocations: 2.396 MB / 0.6209 GB, free: 153.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9368, allocations: 3.969 kB / 0.6209 GB, free: 153.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005324/0.9421, allocations: 1.29 MB / 0.6221 GB, free: 153.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 1 ($STATESET1.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 (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006025/0.9427, allocations: 233.4 kB / 0.6224 GB, free: 152.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007073/0.9498, allocations: 5.169 MB / 0.6274 GB, free: 150.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.9498, allocations: 2 kB / 0.6274 GB, free: 150.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003331/0.9532, allocations: 2.427 MB / 0.6298 GB, free: 149.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/0.9576, allocations: 0.909 MB / 0.6307 GB, free: 148.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.9764, allocations: 14.75 MB / 0.6451 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/0.9803, allocations: 4.618 MB / 0.6496 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004281/0.9846, allocations: 1.403 MB / 0.6509 GB, free: 129.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/0.9853, allocations: 295.4 kB / 0.6512 GB, free: 129.3 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.9853, allocations: 0 / 0.6512 GB, free: 129.3 MB / 478.1 MB Notification: Performance of Templates: time 0.07395/1.059, allocations: 51.79 MB / 0.7018 GB, free: 77.93 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches