Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 168.1 kB / 24.82 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9491/0.9491, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.858e-05, allocations: 6.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1291/0.1291, allocations: 29.26 MB / 302.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.1445, allocations: 8.749 MB / 311.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006669/0.1512, allocations: 227 kB / 311.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007908/0.1591, allocations: 5.069 MB / 316.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008258/0.1674, allocations: 3.124 MB / 319.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.1708, allocations: 1.603 MB / 321.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009984/0.1808, allocations: 9.196 MB / 330.6 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.1938, allocations: 9.124 MB / 339.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009775/0.2036, allocations: 6.434 MB / 346.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.2101, allocations: 4.565 MB / 350.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002861/0.213, allocations: 1.156 MB / 351.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.2173, allocations: 1.534 MB / 353.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.2198, allocations: 2.505 MB / 356 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006398/0.2262, allocations: 3.173 MB / 359.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.2367, allocations: 7.77 MB / 366.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2367, allocations: 4 kB / 366.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2367, allocations: 7.938 kB / 366.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002962/0.237, allocations: 0 / 366.9 MB, free: 4.754 MB / 314.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.01558/0.2526, allocations: 9.904 MB / 376.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2526, allocations: 8.031 kB / 376.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/0.2722, allocations: 4.944 MB / 381.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008089/0.2803, allocations: 4.597 MB / 386.4 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004558/0.2807, allocations: 0.5299 MB / 386.9 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/0.2825, allocations: 0.7069 MB / 387.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.2935, allocations: 5.871 MB / 393.5 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/0.2937, allocations: 23.86 kB / 393.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007188/0.2944, allocations: 300 kB / 393.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004247/0.2948, allocations: 443 kB / 394.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007113/0.302, allocations: 2.933 MB / 397.2 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04084/0.3428, allocations: 30.34 MB / 427.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006271/0.3491, allocations: 5.754 MB / 433.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.3504, allocations: 1.072 MB / 434.3 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1359/0.4863, allocations: 4.825 MB / 439.2 MB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.4863, allocations: 60.61 kB / 439.2 MB, free: 86.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.329e-06/0.4863, allocations: 2.094 kB / 439.2 MB, free: 86.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.009983/0.4963, allocations: 5.157 MB / 444.4 MB, free: 86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001126/0.4974, allocations: 2.193 MB / 446.6 MB, free: 84.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.5012, allocations: 3.29 MB / 449.9 MB, free: 83.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002765/0.5015, allocations: 66.67 kB / 449.9 MB, free: 83.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.5031, allocations: 3.906 MB / 453.8 MB, free: 81.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/0.5036, allocations: 0.886 MB / 454.7 MB, free: 81.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009017/0.5045, allocations: 1.052 MB / 455.8 MB, free: 81.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.5046, allocations: 478.5 kB / 456.2 MB, free: 80.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.5055, allocations: 0.5741 MB / 456.8 MB, free: 80.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.5075, allocations: 4.345 MB / 461.1 MB, free: 76.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.5107, allocations: 5.332 MB / 466.5 MB, free: 71.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.526e-05/0.5108, allocations: 26.81 kB / 466.5 MB, free: 71.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005121/0.5159, allocations: 4.25 MB / 470.8 MB, free: 70.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.516, allocations: 49.12 kB / 470.8 MB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.121e-05/0.5161, allocations: 87.06 kB / 470.9 MB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.5173, allocations: 0.6784 MB / 471.6 MB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.5191, allocations: 1.055 MB / 472.6 MB, free: 70.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.5217, allocations: 3.644 MB / 476.3 MB, free: 69.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.524, allocations: 237.6 kB / 476.5 MB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.5243, allocations: 239.6 kB / 476.7 MB, free: 69.05 MB / 378.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.001563/0.5258, allocations: 0.5131 MB / 477.2 MB, free: 68.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006121/0.5264, allocations: 450.5 kB / 477.7 MB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.529, allocations: 2.239 MB / 479.9 MB, free: 67.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.5291, allocations: 24 kB / 479.9 MB, free: 67.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5291, allocations: 4 kB / 480 MB, free: 67.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5291, allocations: 11.16 kB / 480 MB, free: 67.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.5402, allocations: 11.24 MB / 491.2 MB, free: 59.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.5402, allocations: 12.88 kB / 491.2 MB, free: 59.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008827/0.5411, allocations: 414.2 kB / 491.6 MB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.5424, allocations: 0.6327 MB / 492.3 MB, free: 59.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.5426, allocations: 70 kB / 492.3 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.5462, allocations: 5.525 MB / 497.8 MB, free: 53.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007176/0.5469, allocations: 2.16 MB / 0.4883 GB, free: 51.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.5506, allocations: 3.271 MB / 0.4915 GB, free: 47.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.5517, allocations: 0.6302 MB / 0.4921 GB, free: 47.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.552, allocations: 63.98 kB / 0.4922 GB, free: 47.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/0.5528, allocations: 91.94 kB / 0.4922 GB, free: 47.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.553, allocations: 231.9 kB / 0.4925 GB, free: 46.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/0.5531, allocations: 79.97 kB / 0.4925 GB, free: 46.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.5545, allocations: 1.471 MB / 0.494 GB, free: 45.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5545, allocations: 0 / 0.494 GB, free: 45.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003719/0.5582, allocations: 1.285 MB / 0.4952 GB, free: 44.29 MB / 378.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.0003564/0.5585, allocations: 236.7 kB / 0.4955 GB, free: 44.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00329/0.5618, allocations: 2.872 MB / 0.4983 GB, free: 41.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.5618, allocations: 4.25 kB / 0.4983 GB, free: 41.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.5632, allocations: 1.528 MB / 0.4998 GB, free: 40.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.5655, allocations: 0.8844 MB / 0.5006 GB, free: 39.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.5768, allocations: 10.78 MB / 0.5112 GB, free: 28.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.578, allocations: 1.77 MB / 0.5129 GB, free: 26.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001563/0.5795, allocations: 0.6009 MB / 0.5135 GB, free: 25.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.5808, allocations: 0.9664 MB / 0.5144 GB, free: 24.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5808, allocations: 0 / 0.5144 GB, free: 24.8 MB / 378.7 MB Notification: Performance of Templates: time 0.06854/0.6493, allocations: 52.94 MB / 0.5661 GB, free: 4.812 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2981675998307765]