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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 103.2 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 35.94 kB / 350.1 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3096, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0242/0.3339, allocations: 29.83 MB / 429.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02109/0.3551, allocations: 8.586 MB / 437.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008885/0.3641, allocations: 175.5 kB / 438.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.3768, allocations: 4.572 MB / 442.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.3899, allocations: 2.715 MB / 445.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006768/0.3967, allocations: 1.501 MB / 446.9 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01754/0.4142, allocations: 9.084 MB / 456 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02042/0.4347, allocations: 10.31 MB / 466.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007399/0.4422, allocations: 3.617 MB / 469.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00956/0.4518, allocations: 4.487 MB / 474.4 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00345/0.4553, allocations: 0.7305 MB / 475.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/0.4613, allocations: 1.097 MB / 476.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004173/0.4656, allocations: 1.966 MB / 478.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0105/0.4761, allocations: 4.204 MB / 482.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02075/0.4969, allocations: 15.4 MB / 497.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.497, allocations: 0 / 497.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.497, allocations: 0 / 497.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006014/0.4976, allocations: 4 kB / 497.8 MB, free: 14.7 MB / 378.7 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.03583/0.5334, allocations: 9.767 MB / 0.4957 GB, free: 4.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.938e-05/0.5335, allocations: 12.03 kB / 0.4957 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2422/0.7757, allocations: 5.252 MB / 0.5008 GB, free: 86.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.7879, allocations: 4.962 MB / 0.5056 GB, free: 83.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/0.7884, allocations: 0.53 MB / 0.5062 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003247/0.7917, allocations: 0.7093 MB / 0.5068 GB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02907/0.8208, allocations: 11.33 MB / 0.5179 GB, free: 78.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.821, allocations: 23.36 kB / 0.5179 GB, free: 78.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000929/0.8219, allocations: 305.8 kB / 0.5182 GB, free: 78.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003083/0.8223, allocations: 442.1 kB / 0.5186 GB, free: 77.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/0.8423, allocations: 10.82 MB / 0.5292 GB, free: 68.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06064/0.903, allocations: 38 MB / 0.5663 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/0.9191, allocations: 28.1 MB / 0.5938 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004651/0.9238, allocations: 2.647 MB / 0.5963 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02197/0.9458, allocations: 7.923 MB / 0.6041 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.9459, allocations: 56.56 kB / 0.6041 GB, free: 2.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 5.801e-06/0.946, allocations: 0 / 0.6041 GB, free: 2.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=233): time 0.02262/0.9686, allocations: 10.37 MB / 0.6143 GB, free: 8.535 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001921/0.9705, allocations: 1.912 MB / 0.6161 GB, free: 6.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006098/0.9767, allocations: 3.826 MB / 0.6199 GB, free: 2.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005872/0.9773, allocations: 61.7 kB / 0.6199 GB, free: 2.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004081/0.9814, allocations: 3.552 MB / 0.6234 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001584/0.983, allocations: 0.8273 MB / 0.6242 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/0.9853, allocations: 0.9568 MB / 0.6251 GB, free: 13.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.9854, allocations: 312.7 kB / 0.6254 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004378/0.9898, allocations: 1.887 MB / 0.6273 GB, free: 11.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007044/0.9969, allocations: 4.392 MB / 0.6316 GB, free: 5.406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.009, allocations: 6.788 MB / 0.6382 GB, free: 13.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/1.009, allocations: 24.44 kB / 0.6382 GB, free: 13.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01924/1.029, allocations: 6.979 MB / 0.645 GB, free: 6.387 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/1.029, allocations: 44 kB / 0.6451 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/1.029, allocations: 87.84 kB / 0.6452 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/1.032, allocations: 0.7484 MB / 0.6459 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.037, allocations: 1.119 MB / 0.647 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00987/1.046, allocations: 5.237 MB / 0.6521 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006954/1.053, allocations: 307.1 kB / 0.6524 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.055, allocations: 276 kB / 0.6527 GB, free: 14.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007399/1.062, allocations: 2.518 MB / 0.6551 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.064, allocations: 383.2 kB / 0.6555 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.075, allocations: 4.286 MB / 0.6597 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/1.075, allocations: 24 kB / 0.6597 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.075, allocations: 4 kB / 0.6597 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-05/1.075, allocations: 15.95 kB / 0.6597 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2911/1.366, allocations: 14.28 MB / 0.6736 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.366, allocations: 7.844 kB / 0.6737 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.368, allocations: 483 kB / 0.6741 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/1.37, allocations: 0.6903 MB / 0.6748 GB, free: 145.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/1.37, allocations: 72.83 kB / 0.6749 GB, free: 145.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007852/1.378, allocations: 6.947 MB / 0.6816 GB, free: 140.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001389/1.379, allocations: 1.866 MB / 0.6835 GB, free: 139.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/1.403, allocations: 16.15 MB / 0.6992 GB, free: 130.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.405, allocations: 0.7889 MB / 0.7 GB, free: 130.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/1.405, allocations: 63.23 kB / 0.7001 GB, free: 130.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.407, allocations: 169.7 kB / 0.7002 GB, free: 130.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005641/1.408, allocations: 217.2 kB / 0.7004 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.408, allocations: 89.59 kB / 0.7005 GB, free: 130.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003831/1.412, allocations: 2.515 MB / 0.703 GB, free: 129.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.412, allocations: 0 / 0.703 GB, free: 129.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005986/1.418, allocations: 1.58 MB / 0.7045 GB, free: 129 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006381/1.419, allocations: 232.6 kB / 0.7047 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008302/1.427, allocations: 5.13 MB / 0.7098 GB, free: 124.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.427, allocations: 4 kB / 0.7098 GB, free: 124.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003404/1.43, allocations: 2.401 MB / 0.7121 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005352/1.436, allocations: 0.9427 MB / 0.713 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.459, allocations: 17.28 MB / 0.7299 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005814/1.465, allocations: 4.571 MB / 0.7344 GB, free: 99.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0045/1.47, allocations: 1.36 MB / 0.7357 GB, free: 98.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008184/1.471, allocations: 296.6 kB / 0.736 GB, free: 98.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/1.471, allocations: 0 / 0.736 GB, free: 98.07 MB / 458.7 MB Notification: Performance of Templates: time 0.0939/1.565, allocations: 57.5 MB / 0.7921 GB, free: 41.04 MB / 458.7 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@2/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