Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.002791, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002415, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9054/0.9054, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07739/0.9828, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 4 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.569e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1198/0.1198, allocations: 29.53 MB / 274.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1366, allocations: 9.249 MB / 283.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.1395, allocations: 224.6 kB / 284 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005673/0.1452, allocations: 5.196 MB / 289.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.1504, allocations: 3.119 MB / 292.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.1526, allocations: 1.615 MB / 294 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006365/0.159, allocations: 9.259 MB / 303.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008791/0.1678, allocations: 9.069 MB / 312.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009469/0.1772, allocations: 6.827 MB / 319.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006882/0.1841, allocations: 4.581 MB / 323.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00258/0.1867, allocations: 1.156 MB / 324.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.1909, allocations: 1.549 MB / 326.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.1933, allocations: 1.992 MB / 328.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005549/0.1989, allocations: 2.652 MB / 331 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009638/0.2085, allocations: 7.374 MB / 338.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.2085, allocations: 0 / 338.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2085, allocations: 0 / 338.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003294/0.2088, allocations: 0 / 338.4 MB, free: 9.727 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.01638/0.2252, allocations: 11.01 MB / 349.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2253, allocations: 8.625 kB / 349.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.2384, allocations: 5.203 MB / 354.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.2429, allocations: 2.795 MB / 357.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.2431, allocations: 0.5346 MB / 358 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000768/0.2439, allocations: 0.7161 MB / 358.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.2506, allocations: 5.965 MB / 364.7 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.2508, allocations: 15.77 kB / 364.7 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004907/0.2513, allocations: 300.5 kB / 365 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002783/0.2515, allocations: 446.9 kB / 365.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.2561, allocations: 3.022 MB / 368.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.279, allocations: 23.39 MB / 391.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/0.2838, allocations: 4.371 MB / 396.2 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009794/0.2847, allocations: 0.9472 MB / 397.1 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005081/0.2898, allocations: 3.78 MB / 400.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2899, allocations: 60.56 kB / 401 MB, free: 12.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.126e-06/0.2899, allocations: 0 / 401 MB, free: 12.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.007102/0.297, allocations: 4.715 MB / 405.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000952/0.2979, allocations: 1.617 MB / 407.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.2997, allocations: 2.631 MB / 409.9 MB, free: 3.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-05/0.2998, allocations: 61.7 kB / 410 MB, free: 3.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.3011, allocations: 3.335 MB / 413.3 MB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.3016, allocations: 0.8601 MB / 414.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/0.3024, allocations: 0.9141 MB / 415.1 MB, free: 14.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.3024, allocations: 305.1 kB / 415.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3034, allocations: 0.6801 MB / 416.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.3054, allocations: 3.134 MB / 419.2 MB, free: 8.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.3082, allocations: 4.118 MB / 423.3 MB, free: 3.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.3082, allocations: 27.94 kB / 423.4 MB, free: 3.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.003583/0.3118, allocations: 3.476 MB / 426.8 MB, free: 112 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.3118, allocations: 48.12 kB / 426.9 MB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1178/0.4296, allocations: 87.67 kB / 427 MB, free: 96.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.4312, allocations: 0.6421 MB / 427.6 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/0.4341, allocations: 1.178 MB / 428.8 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.437, allocations: 2.89 MB / 431.7 MB, free: 95.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.4392, allocations: 235.2 kB / 431.9 MB, free: 95.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/0.4395, allocations: 231.4 kB / 432.1 MB, free: 95.52 MB / 394.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.001536/0.441, allocations: 482.4 kB / 432.6 MB, free: 95.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.4415, allocations: 286.5 kB / 432.9 MB, free: 95.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.444, allocations: 1.884 MB / 434.8 MB, free: 95.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.444, allocations: 24.47 kB / 434.8 MB, free: 95.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4441, allocations: 6.625 kB / 434.8 MB, free: 95.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.4441, allocations: 10.78 kB / 434.8 MB, free: 95.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007693/0.4518, allocations: 7.828 MB / 442.6 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.4518, allocations: 11.75 kB / 442.6 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.4527, allocations: 472.1 kB / 443.1 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/0.4533, allocations: 439.8 kB / 443.5 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.4546, allocations: 0.7738 MB / 444.3 MB, free: 94.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.4547, allocations: 66.31 kB / 444.4 MB, free: 94.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.4575, allocations: 4.208 MB / 448.6 MB, free: 91.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005671/0.458, allocations: 1.56 MB / 450.1 MB, free: 90.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.4605, allocations: 2.684 MB / 452.8 MB, free: 89.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.4608, allocations: 61.17 kB / 452.9 MB, free: 89.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008449/0.4616, allocations: 91.78 kB / 453 MB, free: 89.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.4618, allocations: 230.9 kB / 453.2 MB, free: 89.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/0.4619, allocations: 68.97 kB / 453.3 MB, free: 89.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008172/0.4627, allocations: 1.209 MB / 454.5 MB, free: 89.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4627, allocations: 0 / 454.5 MB, free: 89.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002431/0.4652, allocations: 1.288 MB / 455.8 MB, free: 89.39 MB / 394.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.0002876/0.4655, allocations: 217 kB / 456 MB, free: 89.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.4678, allocations: 2.557 MB / 458.5 MB, free: 89.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001152/0.4679, allocations: 97.48 kB / 458.6 MB, free: 89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.469, allocations: 1.281 MB / 459.9 MB, free: 88.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4709, allocations: 1.188 MB / 461.1 MB, free: 88.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.043/0.5139, allocations: 10.83 MB / 471.9 MB, free: 82.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/0.5149, allocations: 1.341 MB / 473.3 MB, free: 81.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0015/0.5164, allocations: 0.6088 MB / 473.9 MB, free: 81.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.5176, allocations: 0.8517 MB / 474.7 MB, free: 80.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5176, allocations: 0 / 474.7 MB, free: 80.37 MB / 394.7 MB Notification: Performance of Templates: time 0.06035/0.5779, allocations: 55.54 MB / 0.5179 GB, free: 26.01 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.062836140394211]