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.002187/0.002187, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002355/0.002355, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.544/1.544, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 1.974e-06/1.974e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.5e-05, allocations: 6.25 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1761/0.1762, allocations: 29.74 MB / 297.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01997/0.1961, allocations: 8.549 MB / 305.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007833/0.204, allocations: 219.8 kB / 305.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.2164, allocations: 5.204 MB / 311.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.2273, allocations: 3.126 MB / 314.2 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00506/0.2324, allocations: 1.605 MB / 315.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.244, allocations: 9.076 MB / 324.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01785/0.2618, allocations: 9.138 MB / 334 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.2775, allocations: 6.399 MB / 340.4 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.2882, allocations: 4.444 MB / 344.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003914/0.2921, allocations: 1.16 MB / 346 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/0.2976, allocations: 1.511 MB / 347.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00345/0.3011, allocations: 2.505 MB / 350 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007603/0.3087, allocations: 3.173 MB / 353.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02458/0.3333, allocations: 16.1 MB / 369.3 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3333, allocations: 3.938 kB / 369.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3333, allocations: 0 / 369.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000481/0.3337, allocations: 0 / 369.3 MB, free: 4.871 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.03538/0.3691, allocations: 11.19 MB / 380.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3692, allocations: 8.922 kB / 380.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03258/0.4018, allocations: 6.609 MB / 387.1 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.4161, allocations: 4.901 MB / 392 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006832/0.4168, allocations: 0.5337 MB / 392.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/0.4205, allocations: 0.7069 MB / 393.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0399/0.4604, allocations: 11.65 MB / 404.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005029/0.4609, allocations: 19.84 kB / 404.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003286/0.4642, allocations: 296 kB / 405.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00067/0.4649, allocations: 446.9 kB / 405.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02855/0.4934, allocations: 9.592 MB / 415.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2822/0.7756, allocations: 61.01 MB / 476.3 MB, free: 89.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.787, allocations: 6.996 MB / 483.2 MB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/0.7898, allocations: 2.126 MB / 485.4 MB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.8029, allocations: 7.024 MB / 492.4 MB, free: 76.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.803, allocations: 71.31 kB / 492.5 MB, free: 76.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.468e-06/0.803, allocations: 0 / 492.5 MB, free: 76.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01612/0.8191, allocations: 9.089 MB / 0.4898 GB, free: 67.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001676/0.8208, allocations: 2.451 MB / 0.4922 GB, free: 65.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005776/0.8266, allocations: 5.005 MB / 0.4971 GB, free: 60.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.8268, allocations: 65.7 kB / 0.4971 GB, free: 60.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/0.8287, allocations: 4.137 MB / 0.5012 GB, free: 56.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006403/0.8293, allocations: 0.9456 MB / 0.5021 GB, free: 55.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.8306, allocations: 1.244 MB / 0.5033 GB, free: 54.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.8307, allocations: 476.8 kB / 0.5038 GB, free: 53.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.8326, allocations: 1.548 MB / 0.5053 GB, free: 52.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/0.8357, allocations: 5.498 MB / 0.5107 GB, free: 45.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005598/0.8413, allocations: 7.568 MB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.676e-05/0.8414, allocations: 24 kB / 0.5181 GB, free: 35.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009017/0.8504, allocations: 6.557 MB / 0.5245 GB, free: 29.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.8505, allocations: 44 kB / 0.5245 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.857e-05/0.8505, allocations: 84 kB / 0.5246 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.8529, allocations: 0.9118 MB / 0.5255 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.8561, allocations: 1.123 MB / 0.5266 GB, free: 27.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005959/0.862, allocations: 5.932 MB / 0.5324 GB, free: 21.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/0.866, allocations: 307.5 kB / 0.5327 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005428/0.8665, allocations: 276 kB / 0.5329 GB, free: 20.45 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.003226/0.8698, allocations: 2.314 MB / 0.5352 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009009/0.8707, allocations: 449.5 kB / 0.5356 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/0.8764, allocations: 3.671 MB / 0.5392 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.8764, allocations: 24 kB / 0.5392 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.8765, allocations: 8 kB / 0.5392 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.8765, allocations: 11.95 kB / 0.5392 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/0.8995, allocations: 15.22 MB / 0.5541 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/0.8995, allocations: 12 kB / 0.5541 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.9016, allocations: 483.4 kB / 0.5546 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.9047, allocations: 0.8574 MB / 0.5554 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003225/0.9051, allocations: 71.98 kB / 0.5555 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.9168, allocations: 8.122 MB / 0.5634 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00262/0.9194, allocations: 2.391 MB / 0.5658 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/0.9324, allocations: 6.005 MB / 0.5716 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003348/0.9357, allocations: 0.6691 MB / 0.5723 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009189/0.9366, allocations: 60 kB / 0.5723 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/0.9389, allocations: 163.8 kB / 0.5725 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005645/0.9394, allocations: 229.4 kB / 0.5727 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/0.9396, allocations: 83.98 kB / 0.5728 GB, free: 10.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004844/0.9445, allocations: 2.556 MB / 0.5753 GB, free: 8.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9445, allocations: 0 / 0.5753 GB, free: 8.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007198/0.9517, allocations: 1.289 MB / 0.5765 GB, free: 6.773 MB / 410.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.0009258/0.9526, allocations: 238.5 kB / 0.5768 GB, free: 6.535 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01112/0.9637, allocations: 4.808 MB / 0.5815 GB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.468e-05/0.9638, allocations: 4 kB / 0.5815 GB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1575/1.121, allocations: 2.249 MB / 0.5837 GB, free: 129.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/1.126, allocations: 0.8723 MB / 0.5845 GB, free: 129.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/1.15, allocations: 12.04 MB / 0.5963 GB, free: 124.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004526/1.154, allocations: 3.711 MB / 0.5999 GB, free: 124.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003662/1.158, allocations: 1.144 MB / 0.601 GB, free: 124 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000757/1.159, allocations: 287.9 kB / 0.6013 GB, free: 124 MB / 410.7 MB Notification: Performance of SimCode: time 2.755e-06/1.159, allocations: 0 / 0.6013 GB, free: 124 MB / 410.7 MB Notification: Performance of Templates: time 0.08074/1.24, allocations: 47.52 MB / 0.6477 GB, free: 88.55 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/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: 7.252747994032688]