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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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=1000,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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660]
"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.001929/0.001929, allocations: 59.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2613, allocations: 49.15 MB / 396.8 MB, free: 9.531 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03362/0.2949, allocations: 30.44 MB / 427.3 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02264/0.3176, allocations: 8.682 MB / 436 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.007754/0.3253, allocations: 196.5 kB / 436.1 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01453/0.3399, allocations: 5.005 MB / 441.2 MB, free: 6.973 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01127/0.3511, allocations: 3.105 MB / 444.3 MB, free: 3.852 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005565/0.3567, allocations: 1.649 MB / 445.9 MB, free: 2.199 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01416/0.3709, allocations: 8.759 MB / 454.7 MB, free: 9.406 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02161/0.3925, allocations: 8.384 MB / 463 MB, free: 0.9336 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.008307/0.4008, allocations: 4.332 MB / 467.4 MB, free: 12.59 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00954/0.4103, allocations: 4.811 MB / 472.2 MB, free: 7.762 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00388/0.4142, allocations: 1.164 MB / 473.4 MB, free: 6.598 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.005654/0.4198, allocations: 1.542 MB / 474.9 MB, free: 5.055 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00476/0.4246, allocations: 2.415 MB / 477.3 MB, free: 2.633 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.009793/0.4344, allocations: 4.669 MB / 482 MB, free: 13.95 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02384/0.4582, allocations: 15.77 MB / 497.7 MB, free: 14.13 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4582, allocations: 0 / 497.7 MB, free: 14.13 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.184e-06/0.4582, allocations: 0 / 497.7 MB, free: 14.13 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0004759/0.4587, allocations: 0 / 497.7 MB, free: 14.13 MB / 414.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.0336/0.4923, allocations: 9.861 MB / 0.4957 GB, free: 4.18 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4924, allocations: 8.031 kB / 0.4957 GB, free: 4.172 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03235/0.5247, allocations: 5.309 MB / 0.5009 GB, free: 14.85 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.5369, allocations: 4.715 MB / 0.5055 GB, free: 10.05 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006868/0.5376, allocations: 0.5299 MB / 0.506 GB, free: 9.516 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.003464/0.541, allocations: 0.7069 MB / 0.5067 GB, free: 8.809 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03451/0.5755, allocations: 11.32 MB / 0.5178 GB, free: 13.41 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003415/0.5759, allocations: 15.94 kB / 0.5178 GB, free: 13.39 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002914/0.5788, allocations: 300 kB / 0.5181 GB, free: 13.1 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000648/0.5794, allocations: 447 kB / 0.5185 GB, free: 12.66 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/0.6039, allocations: 10.81 MB / 0.5291 GB, free: 1.836 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2585/0.8624, allocations: 36.52 MB / 0.5647 GB, free: 128 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.8757, allocations: 7.449 MB / 0.572 GB, free: 127.8 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003668/0.8793, allocations: 2.418 MB / 0.5744 GB, free: 127.8 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.8925, allocations: 7.491 MB / 0.5817 GB, free: 126.6 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.8925, allocations: 59.75 kB / 0.5817 GB, free: 126.5 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=217): time 3.897e-06/0.8925, allocations: 0 / 0.5817 GB, free: 126.5 MB / 478.1 MB
Notification: Performance of matching and sorting (n=233): time 0.01801/0.9106, allocations: 10.3 MB / 0.5918 GB, free: 122.3 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.001432/0.912, allocations: 1.905 MB / 0.5936 GB, free: 120.6 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/0.9164, allocations: 3.83 MB / 0.5974 GB, free: 119.2 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.9167, allocations: 61.08 kB / 0.5974 GB, free: 119.2 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.9181, allocations: 3.676 MB / 0.601 GB, free: 116.7 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005575/0.9187, allocations: 0.8717 MB / 0.6019 GB, free: 116 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.9197, allocations: 0.9563 MB / 0.6028 GB, free: 115.5 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 3.888e-05/0.9198, allocations: 301.1 kB / 0.6031 GB, free: 115.2 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.9219, allocations: 1.902 MB / 0.605 GB, free: 114.2 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.9249, allocations: 4.385 MB / 0.6092 GB, free: 109.7 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005355/0.9302, allocations: 6.796 MB / 0.6159 GB, free: 103 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/0.9303, allocations: 24 kB / 0.6159 GB, free: 103 MB / 478.1 MB
Notification: Performance of matching and sorting (n=627) (initialization): time 0.009255/0.9395, allocations: 6.978 MB / 0.6227 GB, free: 96.03 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.9396, allocations: 40 kB / 0.6228 GB, free: 95.99 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.089e-05/0.9396, allocations: 88 kB / 0.6228 GB, free: 95.9 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.9414, allocations: 0.7401 MB / 0.6236 GB, free: 95.15 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.9447, allocations: 1.123 MB / 0.6247 GB, free: 94.03 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.9505, allocations: 5.538 MB / 0.6301 GB, free: 88.36 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/0.954, allocations: 319.4 kB / 0.6304 GB, free: 88.05 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/0.9544, allocations: 271.9 kB / 0.6306 GB, free: 87.79 MB / 478.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.003067/0.9575, allocations: 2.522 MB / 0.6331 GB, free: 85.25 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006828/0.9582, allocations: 401.5 kB / 0.6335 GB, free: 84.86 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006594/0.9648, allocations: 4.255 MB / 0.6376 GB, free: 80.58 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.9648, allocations: 24 kB / 0.6377 GB, free: 80.56 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.9648, allocations: 8 kB / 0.6377 GB, free: 80.55 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/0.9649, allocations: 11.95 kB / 0.6377 GB, free: 80.54 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0331/0.998, allocations: 13.95 MB / 0.6513 GB, free: 66.4 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/0.998, allocations: 12 kB / 0.6513 GB, free: 66.39 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003695/1.002, allocations: 483.3 kB / 0.6518 GB, free: 65.91 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/1.005, allocations: 0.6857 MB / 0.6524 GB, free: 65.22 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003833/1.006, allocations: 67.98 kB / 0.6525 GB, free: 65.15 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.019, allocations: 7.292 MB / 0.6596 GB, free: 57.63 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002202/1.022, allocations: 1.856 MB / 0.6614 GB, free: 55.65 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.037, allocations: 6.734 MB / 0.668 GB, free: 48.64 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.003546/1.041, allocations: 0.7548 MB / 0.6688 GB, free: 47.88 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.042, allocations: 60 kB / 0.6688 GB, free: 47.82 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/1.046, allocations: 163.9 kB / 0.669 GB, free: 47.66 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006356/1.046, allocations: 233.3 kB / 0.6692 GB, free: 47.43 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/1.047, allocations: 91.92 kB / 0.6693 GB, free: 47.34 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.005537/1.052, allocations: 2.513 MB / 0.6717 GB, free: 44.85 MB / 478.1 MB
Notification: Performance of sort global known variables: time 2.51e-07/1.052, allocations: 0 / 0.6717 GB, free: 44.85 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.007838/1.06, allocations: 1.297 MB / 0.673 GB, free: 43.55 MB / 478.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.0006612/1.061, allocations: 225.9 kB / 0.6732 GB, free: 43.33 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.01168/1.072, allocations: 4.819 MB / 0.6779 GB, free: 38.49 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.072, allocations: 4 kB / 0.6779 GB, free: 38.49 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.005691/1.078, allocations: 2.189 MB / 0.6801 GB, free: 36.28 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007425/1.085, allocations: 0.9918 MB / 0.681 GB, free: 35.29 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/1.115, allocations: 12.59 MB / 0.6933 GB, free: 22.5 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006388/1.121, allocations: 4.493 MB / 0.6977 GB, free: 17.96 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.006665/1.128, allocations: 1.364 MB / 0.699 GB, free: 16.59 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.129, allocations: 299.4 kB / 0.6993 GB, free: 16.3 MB / 478.1 MB
Notification: Performance of SimCode: time 1.283e-06/1.129, allocations: 0 / 0.6993 GB, free: 16.3 MB / 478.1 MB
Notification: Performance of Templates: time 0.1852/1.314, allocations: 57.59 MB / 0.7556 GB, free: 6.766 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 7.543790887109935]