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.000809/0.000809, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.0009131/0.0009131, allocations: 161.5 kB / 24.99 MB, free: 9.281 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.753e-06/1.753e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.552e-05, allocations: 2.312 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1235/0.1235, allocations: 30.41 MB / 303.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.1356, allocations: 8.784 MB / 312.3 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.138, allocations: 223.2 kB / 312.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004765/0.1428, allocations: 5.207 MB / 317.7 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.1467, allocations: 3.143 MB / 320.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.1486, allocations: 1.61 MB / 322.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006106/0.1547, allocations: 9.199 MB / 331.7 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008744/0.1634, allocations: 9.124 MB / 340.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/0.1692, allocations: 6.419 MB / 347.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003867/0.1731, allocations: 4.456 MB / 351.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.1743, allocations: 1.16 MB / 352.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.1759, allocations: 1.542 MB / 354.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.1772, allocations: 2.501 MB / 356.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.1794, allocations: 3.185 MB / 360 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.185, allocations: 7.774 MB / 367.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.185, allocations: 4 kB / 367.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.185, allocations: 0 / 367.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.038e-05/0.1851, allocations: 4 kB / 367.8 MB, free: 4.188 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.01283/0.1979, allocations: 10.4 MB / 378.2 MB, free: 9.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1979, allocations: 12.03 kB / 378.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02508/0.223, allocations: 6.504 MB / 384.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007285/0.2303, allocations: 4.886 MB / 389.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.2306, allocations: 0.5299 MB / 390.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009828/0.2316, allocations: 0.7069 MB / 390.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.2432, allocations: 6.411 MB / 397.3 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.2433, allocations: 11.95 kB / 397.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000674/0.244, allocations: 296 kB / 397.6 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003914/0.2444, allocations: 450.9 kB / 398 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009307/0.2537, allocations: 3.745 MB / 401.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02921/0.2829, allocations: 30.71 MB / 432.5 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1194/0.4023, allocations: 6.508 MB / 439 MB, free: 114 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002584/0.4049, allocations: 1.238 MB / 440.2 MB, free: 114 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007945/0.4128, allocations: 5.032 MB / 445.3 MB, free: 113.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.4129, allocations: 59.86 kB / 445.3 MB, free: 113.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.178e-06/0.4129, allocations: 0 / 445.3 MB, free: 113.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01048/0.4234, allocations: 6.368 MB / 451.7 MB, free: 112.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00105/0.4244, allocations: 2.249 MB / 453.9 MB, free: 110.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.4276, allocations: 3.339 MB / 457.3 MB, free: 109.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.4278, allocations: 62.39 kB / 457.3 MB, free: 109.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.4292, allocations: 3.872 MB / 461.2 MB, free: 107.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.4297, allocations: 0.875 MB / 462.1 MB, free: 106.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008378/0.4305, allocations: 1.04 MB / 463.1 MB, free: 105.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.4306, allocations: 480.5 kB / 463.6 MB, free: 105.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.4316, allocations: 0.6538 MB / 464.2 MB, free: 105.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.4337, allocations: 4.389 MB / 468.6 MB, free: 100.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.4373, allocations: 5.54 MB / 474.2 MB, free: 94.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.675e-05/0.4374, allocations: 23.44 kB / 474.2 MB, free: 94.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005977/0.4433, allocations: 4.613 MB / 478.8 MB, free: 91.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.4434, allocations: 40 kB / 478.8 MB, free: 91.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.791e-05/0.4435, allocations: 88 kB / 478.9 MB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.4449, allocations: 0.7151 MB / 479.6 MB, free: 90.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.4467, allocations: 1.118 MB / 480.8 MB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.4498, allocations: 3.814 MB / 484.6 MB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.4519, allocations: 317.1 kB / 484.9 MB, free: 86.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.4522, allocations: 276 kB / 485.2 MB, free: 85.77 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.001434/0.4536, allocations: 0.5275 MB / 485.7 MB, free: 85.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005751/0.4542, allocations: 443.6 kB / 486.1 MB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.4574, allocations: 2.476 MB / 488.6 MB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4574, allocations: 24 kB / 488.6 MB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4574, allocations: 4 kB / 488.6 MB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.4574, allocations: 15.75 kB / 488.6 MB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.4693, allocations: 11.51 MB / 0.4884 GB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4693, allocations: 12 kB / 0.4884 GB, free: 71.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/0.4702, allocations: 487.4 kB / 0.4889 GB, free: 70.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.4716, allocations: 0.6583 MB / 0.4895 GB, free: 70.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.4717, allocations: 71.98 kB / 0.4896 GB, free: 70.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.4756, allocations: 5.757 MB / 0.4952 GB, free: 64.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007792/0.4764, allocations: 2.176 MB / 0.4974 GB, free: 61.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.4808, allocations: 3.624 MB / 0.5009 GB, free: 57.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4818, allocations: 0.6691 MB / 0.5016 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.4822, allocations: 67.92 kB / 0.5016 GB, free: 57.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008854/0.4831, allocations: 159.8 kB / 0.5018 GB, free: 56.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.4833, allocations: 233.3 kB / 0.502 GB, free: 56.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.4834, allocations: 95.97 kB / 0.5021 GB, free: 56.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.4852, allocations: 1.6 MB / 0.5037 GB, free: 55.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4852, allocations: 0 / 0.5037 GB, free: 55.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003262/0.4885, allocations: 1.289 MB / 0.5049 GB, free: 53.72 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.000388/0.4889, allocations: 230.5 kB / 0.5051 GB, free: 53.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00404/0.4929, allocations: 3.129 MB / 0.5082 GB, free: 50.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.4929, allocations: 0 / 0.5082 GB, free: 50.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.4949, allocations: 1.633 MB / 0.5098 GB, free: 48.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.4977, allocations: 0.9014 MB / 0.5107 GB, free: 47.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.5105, allocations: 10.87 MB / 0.5213 GB, free: 36.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.5118, allocations: 1.77 MB / 0.523 GB, free: 34.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002208/0.514, allocations: 1.147 MB / 0.5241 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/0.5145, allocations: 296.4 kB / 0.5244 GB, free: 33.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5145, allocations: 0 / 0.5244 GB, free: 33.39 MB / 378.7 MB Notification: Performance of Templates: time 0.06665/0.5812, allocations: 48.26 MB / 0.5715 GB, free: 1.902 MB / 394.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.235712743829936]