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/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.001764/0.001764, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002091/0.002091, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] 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) 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_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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 51.92 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2831, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03351/0.3166, allocations: 26.08 MB / 449.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.3367, allocations: 8.331 MB / 458.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006246/0.3429, allocations: 218.9 kB / 458.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01398/0.3569, allocations: 4.643 MB / 463.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.3684, allocations: 3.042 MB / 466.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005751/0.3742, allocations: 1.571 MB / 467.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01435/0.3885, allocations: 8.765 MB / 476.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01972/0.4083, allocations: 9.072 MB / 485.6 MB, free: 484 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008594/0.4168, allocations: 4.347 MB / 489.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008936/0.4258, allocations: 4.53 MB / 494.4 MB, free: 7.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003443/0.4292, allocations: 1.16 MB / 495.6 MB, free: 6.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005287/0.4345, allocations: 1.496 MB / 497.1 MB, free: 4.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003838/0.4384, allocations: 2.419 MB / 499.5 MB, free: 2.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008174/0.4465, allocations: 3.653 MB / 0.4914 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02239/0.4689, allocations: 15.9 MB / 0.5069 GB, free: 14.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4689, allocations: 0 / 0.5069 GB, free: 14.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4689, allocations: 0 / 0.5069 GB, free: 14.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004569/0.4694, allocations: 0 / 0.5069 GB, free: 14.87 MB / 430.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.03197/0.5014, allocations: 9.841 MB / 0.5165 GB, free: 4.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5014, allocations: 12.03 kB / 0.5165 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03051/0.5319, allocations: 5.306 MB / 0.5217 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.5448, allocations: 5.086 MB / 0.5267 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006403/0.5454, allocations: 0.5377 MB / 0.5272 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/0.5486, allocations: 0.7069 MB / 0.5279 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2877/0.8363, allocations: 11.54 MB / 0.5392 GB, free: 96.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004254/0.8368, allocations: 23.08 kB / 0.5392 GB, free: 96.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003002/0.8398, allocations: 295.7 kB / 0.5395 GB, free: 96.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007694/0.8405, allocations: 443 kB / 0.5399 GB, free: 96.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02458/0.8651, allocations: 10.79 MB / 0.5504 GB, free: 92.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05644/0.9216, allocations: 32.53 MB / 0.5822 GB, free: 63.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.9325, allocations: 7.388 MB / 0.5894 GB, free: 57.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/0.9359, allocations: 2.42 MB / 0.5918 GB, free: 54.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.9478, allocations: 6.788 MB / 0.5984 GB, free: 48.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.9479, allocations: 60.56 kB / 0.5985 GB, free: 48.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.789e-06/0.9479, allocations: 0 / 0.5985 GB, free: 48.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01812/0.966, allocations: 10.26 MB / 0.6085 GB, free: 38.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001589/0.9676, allocations: 1.871 MB / 0.6103 GB, free: 36.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/0.9724, allocations: 3.619 MB / 0.6138 GB, free: 32.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004451/0.9728, allocations: 65.7 kB / 0.6139 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.9744, allocations: 3.691 MB / 0.6175 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/0.9752, allocations: 0.8745 MB / 0.6184 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.9763, allocations: 0.9536 MB / 0.6193 GB, free: 27.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.9763, allocations: 305.1 kB / 0.6196 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.9786, allocations: 1.895 MB / 0.6214 GB, free: 24.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/0.9819, allocations: 4.442 MB / 0.6258 GB, free: 19.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/0.9877, allocations: 6.787 MB / 0.6324 GB, free: 11.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-05/0.9878, allocations: 24 kB / 0.6324 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009877/0.9977, allocations: 6.954 MB / 0.6392 GB, free: 4.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.9977, allocations: 40 kB / 0.6392 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.9978, allocations: 88 kB / 0.6393 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.9996, allocations: 0.7401 MB / 0.6401 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.003, allocations: 1.127 MB / 0.6412 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007375/1.01, allocations: 5.405 MB / 0.6464 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/1.014, allocations: 319.3 kB / 0.6467 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006223/1.015, allocations: 276 kB / 0.647 GB, free: 12.15 MB / 462.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.004886/1.02, allocations: 2.522 MB / 0.6495 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.021, allocations: 377.6 kB / 0.6498 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/1.029, allocations: 4.221 MB / 0.6539 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/1.029, allocations: 31.88 kB / 0.654 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/1.029, allocations: 8 kB / 0.654 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/1.029, allocations: 11.95 kB / 0.654 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.054, allocations: 12.62 MB / 0.6663 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.054, allocations: 8 kB / 0.6663 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/1.056, allocations: 483.2 kB / 0.6668 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/1.058, allocations: 0.7052 MB / 0.6675 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/1.059, allocations: 67.98 kB / 0.6675 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/1.069, allocations: 7.119 MB / 0.6745 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00194/1.071, allocations: 1.812 MB / 0.6763 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.082, allocations: 6.705 MB / 0.6828 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002316/1.085, allocations: 0.716 MB / 0.6835 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006111/1.085, allocations: 63.98 kB / 0.6836 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/1.087, allocations: 163.9 kB / 0.6837 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/1.088, allocations: 237.2 kB / 0.684 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.088, allocations: 83.98 kB / 0.684 GB, free: 5.395 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003893/1.092, allocations: 2.263 MB / 0.6862 GB, free: 3.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.092, allocations: 0 / 0.6862 GB, free: 3.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005439/1.097, allocations: 1.281 MB / 0.6875 GB, free: 1.863 MB / 494.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.000605/1.098, allocations: 253.5 kB / 0.6877 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008945/1.107, allocations: 4.805 MB / 0.6924 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.217e-05/1.107, allocations: 4 kB / 0.6924 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004124/1.111, allocations: 2.177 MB / 0.6946 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/1.115, allocations: 0.8605 MB / 0.6954 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/1.139, allocations: 12.43 MB / 0.7075 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004806/1.144, allocations: 3.897 MB / 0.7113 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/1.145, allocations: 319.4 kB / 0.7116 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of SimCode: time 1.432e-06/1.145, allocations: 0 / 0.7116 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of Templates: time 0.4715/1.617, allocations: 202 MB / 0.9089 GB, free: 9.164 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.283098791725934]