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.001566/0.001566, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001904/0.001904, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001611/0.001611, allocations: 51.91 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2473, allocations: 53.36 MB / 431.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03583/0.2831, allocations: 31.18 MB / 462.8 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.3027, allocations: 8.927 MB / 471.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005984/0.3087, allocations: 218.9 kB / 472 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.3231, allocations: 5.029 MB / 477 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.3341, allocations: 3.127 MB / 480.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.3395, allocations: 1.666 MB / 481.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01353/0.353, allocations: 8.875 MB / 490.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02335/0.3764, allocations: 9.226 MB / 499.9 MB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009892/0.3863, allocations: 4.347 MB / 0.4924 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.3982, allocations: 4.897 MB / 0.4972 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00405/0.4023, allocations: 1.164 MB / 0.4983 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006259/0.4085, allocations: 1.562 MB / 0.4999 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004204/0.4127, allocations: 2.415 MB / 0.5022 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01164/0.4244, allocations: 4.68 MB / 0.5068 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02408/0.4485, allocations: 15.89 MB / 0.5223 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4485, allocations: 0 / 0.5223 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4485, allocations: 0 / 0.5223 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004589/0.4489, allocations: 0 / 0.5223 GB, free: 15.31 MB / 446.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.03011/0.4791, allocations: 9.899 MB / 0.532 GB, free: 5.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4791, allocations: 11.97 kB / 0.532 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02974/0.5088, allocations: 5.224 MB / 0.5371 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2257/0.7345, allocations: 5.136 MB / 0.5421 GB, free: 89.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.7348, allocations: 0.5303 MB / 0.5426 GB, free: 89.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/0.7369, allocations: 0.7179 MB / 0.5433 GB, free: 88.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.7562, allocations: 11.34 MB / 0.5544 GB, free: 84.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/0.7564, allocations: 23.64 kB / 0.5544 GB, free: 84.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006952/0.7571, allocations: 299.2 kB / 0.5547 GB, free: 84.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004079/0.7575, allocations: 443.5 kB / 0.5551 GB, free: 84.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.774, allocations: 10.88 MB / 0.5658 GB, free: 75.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04751/0.8215, allocations: 36.68 MB / 0.6016 GB, free: 38.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.8316, allocations: 7.515 MB / 0.6089 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003208/0.8348, allocations: 2.44 MB / 0.6113 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.8465, allocations: 7.581 MB / 0.6187 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.8466, allocations: 66.09 kB / 0.6188 GB, free: 22.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 3.486e-06/0.8466, allocations: 0 / 0.6188 GB, free: 22.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01644/0.863, allocations: 10.31 MB / 0.6288 GB, free: 12.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001411/0.8644, allocations: 1.912 MB / 0.6307 GB, free: 10.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.8688, allocations: 3.839 MB / 0.6345 GB, free: 6.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00025/0.8691, allocations: 69.7 kB / 0.6345 GB, free: 6.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.8705, allocations: 3.686 MB / 0.6381 GB, free: 2.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.871, allocations: 0.8711 MB / 0.639 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.8721, allocations: 0.9614 MB / 0.6399 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.8721, allocations: 309.1 kB / 0.6402 GB, free: 336 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/0.875, allocations: 1.895 MB / 0.6421 GB, free: 14.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004947/0.8799, allocations: 4.392 MB / 0.6463 GB, free: 8.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009039/0.889, allocations: 6.8 MB / 0.653 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.079e-05/0.889, allocations: 28 kB / 0.653 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01444/0.9035, allocations: 7.001 MB / 0.6599 GB, free: 9.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.9036, allocations: 43.98 kB / 0.6599 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/0.9038, allocations: 91.94 kB / 0.66 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.9059, allocations: 0.7333 MB / 0.6607 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005006/0.9109, allocations: 1.127 MB / 0.6618 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/0.9204, allocations: 5.545 MB / 0.6672 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00413/0.9245, allocations: 307.4 kB / 0.6675 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006492/0.9251, allocations: 280 kB / 0.6678 GB, free: 1.504 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.004874/0.93, allocations: 2.526 MB / 0.6702 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009702/0.931, allocations: 405.4 kB / 0.6706 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008379/0.9394, allocations: 4.256 MB / 0.6748 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.9394, allocations: 24 kB / 0.6748 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.9394, allocations: 4 kB / 0.6748 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-05/0.9394, allocations: 19.83 kB / 0.6748 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0275/0.9669, allocations: 14.01 MB / 0.6885 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.9669, allocations: 12 kB / 0.6885 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/0.9689, allocations: 483.2 kB / 0.689 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.9711, allocations: 0.6856 MB / 0.6897 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.9713, allocations: 75.97 kB / 0.6897 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.9817, allocations: 7.292 MB / 0.6968 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002008/0.9837, allocations: 1.854 MB / 0.6987 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.9953, allocations: 6.755 MB / 0.7053 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/0.9978, allocations: 0.7587 MB / 0.706 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006817/0.9985, allocations: 67.98 kB / 0.7061 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1, allocations: 159.8 kB / 0.7062 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/1.001, allocations: 233.3 kB / 0.7064 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.001, allocations: 91.98 kB / 0.7065 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004261/1.005, allocations: 2.522 MB / 0.709 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.005, allocations: 0 / 0.709 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005051/1.01, allocations: 1.289 MB / 0.7102 GB, free: 5.074 MB / 0.5137 GB 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.0005516/1.011, allocations: 238.7 kB / 0.7105 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008684/1.02, allocations: 4.822 MB / 0.7152 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.02, allocations: 0 / 0.7152 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004027/1.024, allocations: 2.19 MB / 0.7173 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/1.029, allocations: 1.01 MB / 0.7183 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/1.052, allocations: 12.58 MB / 0.7306 GB, free: 0 / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005672/1.058, allocations: 4.493 MB / 0.735 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00408/1.062, allocations: 1.372 MB / 0.7363 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008763/1.063, allocations: 303.4 kB / 0.7366 GB, free: 9.793 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/1.063, allocations: 0 / 0.7366 GB, free: 9.793 MB / 0.545 GB Notification: Performance of Templates: time 0.3031/1.366, allocations: 58.15 MB / 0.7934 GB, free: 153.9 MB / 0.545 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.450987416086718]