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.0007585/0.0007585, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.00188, allocations: 457.8 kB / 10.45 MB, free: 244 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.000753/0.000753, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001865, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9171/0.9171, allocations: 177.5 MB / 190 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08289/1, allocations: 53.87 MB / 243.9 MB, free: 14.89 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 1.694e-06/1.694e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.225e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1376/0.1377, allocations: 29.54 MB / 274.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.1537, allocations: 9.255 MB / 284 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005788/0.1595, allocations: 227.5 kB / 284.2 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00741/0.1669, allocations: 5.193 MB / 289.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007607/0.1745, allocations: 3.117 MB / 292.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.1782, allocations: 1.614 MB / 294.2 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009496/0.1877, allocations: 9.277 MB / 303.4 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.198, allocations: 9.06 MB / 312.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01412/0.2121, allocations: 6.814 MB / 319.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007464/0.2195, allocations: 4.589 MB / 323.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003113/0.2227, allocations: 1.156 MB / 325.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005336/0.228, allocations: 1.558 MB / 326.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002713/0.2307, allocations: 1.988 MB / 328.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006727/0.2374, allocations: 2.656 MB / 331.3 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009477/0.2469, allocations: 7.342 MB / 338.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.2469, allocations: 0 / 338.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2469, allocations: 0 / 338.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002822/0.2472, allocations: 0 / 338.6 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.01576/0.263, allocations: 10.99 MB / 349.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.263, allocations: 12.62 kB / 349.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/0.2819, allocations: 5.198 MB / 354.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008879/0.2908, allocations: 2.796 MB / 357.6 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005753/0.2913, allocations: 0.5388 MB / 358.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/0.2936, allocations: 0.7115 MB / 358.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009907/0.3035, allocations: 5.959 MB / 364.8 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.3037, allocations: 18.92 kB / 364.8 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007958/0.3045, allocations: 296.6 kB / 365.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003469/0.3049, allocations: 426.9 kB / 365.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005099/0.31, allocations: 3.027 MB / 368.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03176/0.3417, allocations: 23.38 MB / 391.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004787/0.3465, allocations: 4.367 MB / 396.3 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.3477, allocations: 0.954 MB / 397.3 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006032/0.3537, allocations: 3.77 MB / 401 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3537, allocations: 60.56 kB / 401.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.777e-06/0.3537, allocations: 0 / 401.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.009849/0.3636, allocations: 5.667 MB / 406.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001022/0.3646, allocations: 1.615 MB / 408.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.3669, allocations: 2.627 MB / 411 MB, free: 2.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.367, allocations: 69.7 kB / 411.1 MB, free: 2.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.3683, allocations: 3.331 MB / 414.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004702/0.3688, allocations: 0.864 MB / 415.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007742/0.3696, allocations: 0.9063 MB / 416.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.3696, allocations: 304.9 kB / 416.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.3707, allocations: 0.684 MB / 417.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.3727, allocations: 3.129 MB / 420.3 MB, free: 8.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.3758, allocations: 4.367 MB / 424.6 MB, free: 2.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-05/0.3758, allocations: 28 kB / 424.7 MB, free: 2.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.1382/0.514, allocations: 3.469 MB / 428.1 MB, free: 96.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/0.5141, allocations: 46.58 kB / 428.2 MB, free: 96.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/0.5143, allocations: 90.39 kB / 428.3 MB, free: 96.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.5163, allocations: 0.6474 MB / 428.9 MB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.52, allocations: 1.181 MB / 430.1 MB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.5239, allocations: 2.883 MB / 433 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/0.5271, allocations: 235.6 kB / 433.2 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005339/0.5277, allocations: 232.2 kB / 433.4 MB, free: 95.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * 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.00169/0.5294, allocations: 487.4 kB / 433.9 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/0.5301, allocations: 289.3 kB / 434.2 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/0.5333, allocations: 1.866 MB / 436.1 MB, free: 95.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.5333, allocations: 25.12 kB / 436.1 MB, free: 95.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5333, allocations: 6.5 kB / 436.1 MB, free: 95.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.5334, allocations: 12.14 kB / 436.1 MB, free: 95.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.5447, allocations: 7.839 MB / 444 MB, free: 94.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5447, allocations: 10.53 kB / 444 MB, free: 94.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5457, allocations: 472.1 kB / 444.4 MB, free: 94.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.547, allocations: 438.4 kB / 444.9 MB, free: 94.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.5485, allocations: 0.7733 MB / 445.6 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.5486, allocations: 62.94 kB / 445.7 MB, free: 94.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.5517, allocations: 4.207 MB / 449.9 MB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005992/0.5523, allocations: 1.553 MB / 451.4 MB, free: 90.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.556, allocations: 2.7 MB / 454.1 MB, free: 89.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005691/0.5566, allocations: 61.11 kB / 454.2 MB, free: 89.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5577, allocations: 95.73 kB / 454.3 MB, free: 89.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.558, allocations: 228 kB / 454.5 MB, free: 89.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.5582, allocations: 66.58 kB / 454.6 MB, free: 89.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001523/0.5597, allocations: 1.236 MB / 455.8 MB, free: 89.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5597, allocations: 0 / 455.8 MB, free: 89.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003873/0.5636, allocations: 1.288 MB / 457.1 MB, free: 89.5 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.0003952/0.564, allocations: 234.5 kB / 457.3 MB, free: 89.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00356/0.5675, allocations: 2.627 MB / 460 MB, free: 89.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001584/0.5677, allocations: 93.08 kB / 460.1 MB, free: 89.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.5694, allocations: 1.45 MB / 461.5 MB, free: 88.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/0.5739, allocations: 8.046 MB / 469.6 MB, free: 81.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05568/0.6296, allocations: 10.84 MB / 480.4 MB, free: 73.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.6314, allocations: 1.339 MB / 481.7 MB, free: 72.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001715/0.6331, allocations: 0.6021 MB / 482.3 MB, free: 71.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.6344, allocations: 0.853 MB / 483.2 MB, free: 71.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/0.6344, allocations: 0 / 483.2 MB, free: 71.16 MB / 394.7 MB Notification: Performance of Templates: time 0.06275/0.6971, allocations: 56.66 MB / 0.5272 GB, free: 15.23 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9377989284694195]