Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001137/0.001137, allocations: 102.4 kB / 17.15 MB, free: 6.316 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.001041/0.001041, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 51.92 kB / 280 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 46.61 MB / 326.6 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02976/0.1322, allocations: 29.75 MB / 356.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01919/0.1514, allocations: 8.55 MB / 364.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007976/0.1594, allocations: 163.4 kB / 365.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.1719, allocations: 4.56 MB / 369.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.1844, allocations: 2.714 MB / 372.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.1901, allocations: 1.505 MB / 373.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2453/0.4355, allocations: 8.961 MB / 382.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01681/0.4523, allocations: 10.3 MB / 393.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007036/0.4594, allocations: 3.595 MB / 396.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008569/0.468, allocations: 4.491 MB / 401.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002976/0.471, allocations: 0.7308 MB / 401.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.4759, allocations: 1.091 MB / 403 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002213/0.4781, allocations: 1.964 MB / 405 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005977/0.4841, allocations: 4.206 MB / 409.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.4971, allocations: 15.33 MB / 424.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4972, allocations: 4 kB / 424.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4972, allocations: 3.938 kB / 424.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004396/0.4976, allocations: 0 / 424.5 MB, free: 10.59 MB / 334.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.0307/0.5283, allocations: 9.774 MB / 434.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5284, allocations: 8.031 kB / 434.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0282/0.5566, allocations: 5.262 MB / 439.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.5668, allocations: 4.645 MB / 444.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/0.5674, allocations: 0.5329 MB / 444.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/0.5705, allocations: 0.7128 MB / 445.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02917/0.5996, allocations: 11.31 MB / 456.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003431/0.6, allocations: 23.45 kB / 456.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002404/0.6024, allocations: 298.6 kB / 457.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004661/0.6029, allocations: 439 kB / 457.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.6268, allocations: 10.8 MB / 468.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07994/0.7067, allocations: 37.99 MB / 0.4944 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02359/0.7304, allocations: 28.12 MB / 0.5219 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005544/0.736, allocations: 2.651 MB / 0.5245 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2169/0.9529, allocations: 7.926 MB / 0.5322 GB, free: 149.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.953, allocations: 62.88 kB / 0.5323 GB, free: 149.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.408e-06/0.953, allocations: 0.5625 kB / 0.5323 GB, free: 149.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.02011/0.9731, allocations: 10.36 MB / 0.5424 GB, free: 146.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001657/0.9748, allocations: 1.916 MB / 0.5443 GB, free: 144.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005523/0.9803, allocations: 3.826 MB / 0.548 GB, free: 143.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002842/0.9806, allocations: 61.58 kB / 0.5481 GB, free: 143.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.9824, allocations: 3.543 MB / 0.5515 GB, free: 140.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/0.983, allocations: 0.831 MB / 0.5523 GB, free: 140 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.9841, allocations: 0.9583 MB / 0.5533 GB, free: 139.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.9842, allocations: 304.4 kB / 0.5536 GB, free: 139.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.9864, allocations: 1.894 MB / 0.5554 GB, free: 138.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.9895, allocations: 4.387 MB / 0.5597 GB, free: 134.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005884/0.9954, allocations: 6.787 MB / 0.5663 GB, free: 129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.916e-05/0.9954, allocations: 23.72 kB / 0.5664 GB, free: 129 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009698/1.005, allocations: 6.987 MB / 0.5732 GB, free: 126.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/1.005, allocations: 43 kB / 0.5732 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.005, allocations: 85.44 kB / 0.5733 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/1.007, allocations: 0.738 MB / 0.574 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/1.01, allocations: 1.124 MB / 0.5751 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005499/1.016, allocations: 5.238 MB / 0.5802 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/1.02, allocations: 314.7 kB / 0.5805 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005715/1.021, allocations: 271.8 kB / 0.5808 GB, free: 122.4 MB / 446.1 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.006795/1.027, allocations: 2.519 MB / 0.5833 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.029, allocations: 383 kB / 0.5836 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006206/1.035, allocations: 4.282 MB / 0.5878 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.035, allocations: 24 kB / 0.5878 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.035, allocations: 8 kB / 0.5878 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.035, allocations: 11.48 kB / 0.5878 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/1.055, allocations: 14.28 MB / 0.6018 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.055, allocations: 16.25 kB / 0.6018 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.057, allocations: 484.8 kB / 0.6023 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/1.059, allocations: 0.6945 MB / 0.6029 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/1.059, allocations: 67.98 kB / 0.603 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006682/1.066, allocations: 6.943 MB / 0.6098 GB, free: 93.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001315/1.067, allocations: 1.858 MB / 0.6116 GB, free: 91.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008746/1.076, allocations: 6.745 MB / 0.6182 GB, free: 84.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/1.078, allocations: 0.7981 MB / 0.619 GB, free: 83.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007604/1.079, allocations: 59.98 kB / 0.619 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.081, allocations: 163.9 kB / 0.6192 GB, free: 83.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/1.081, allocations: 225.4 kB / 0.6194 GB, free: 83.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/1.081, allocations: 87.98 kB / 0.6195 GB, free: 83.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003423/1.085, allocations: 2.509 MB / 0.6219 GB, free: 80.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.085, allocations: 0 / 0.6219 GB, free: 80.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005531/1.09, allocations: 1.292 MB / 0.6232 GB, free: 79.62 MB / 446.1 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.0006635/1.091, allocations: 232.4 kB / 0.6234 GB, free: 79.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0073/1.098, allocations: 5.143 MB / 0.6284 GB, free: 74.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.098, allocations: 4.5 kB / 0.6284 GB, free: 74.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00351/1.102, allocations: 2.405 MB / 0.6308 GB, free: 71.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006142/1.108, allocations: 0.9317 MB / 0.6317 GB, free: 70.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.129, allocations: 15.44 MB / 0.6468 GB, free: 55.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005034/1.134, allocations: 4.496 MB / 0.6512 GB, free: 50.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004298/1.138, allocations: 1.36 MB / 0.6525 GB, free: 49.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.139, allocations: 295.3 kB / 0.6528 GB, free: 49.03 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/1.139, allocations: 4 kB / 0.6528 GB, free: 49.03 MB / 446.1 MB Notification: Performance of Templates: time 0.2872/1.427, allocations: 54.72 MB / 0.7062 GB, free: 121.8 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches