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.000994/0.000994, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001069/0.001069, allocations: 145.1 kB / 24.54 MB, free: 36 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 0.9579/0.9579, allocations: 173.3 MB / 201.1 MB, free: 8.961 MB / 186.7 MB " [Timeout remaining time 179] 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.473e-06/1.473e-06, allocations: 0 / 268 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.093e-05, allocations: 6.25 kB / 268 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1353/0.1354, allocations: 29.95 MB / 298 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.1513, allocations: 8.561 MB / 306.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005695/0.157, allocations: 219.6 kB / 306.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0079/0.1649, allocations: 5.215 MB / 312 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.1732, allocations: 3.136 MB / 315.1 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.1764, allocations: 1.595 MB / 316.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008159/0.1846, allocations: 9.085 MB / 325.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.1972, allocations: 9.132 MB / 334.9 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.2074, allocations: 6.403 MB / 341.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006433/0.2139, allocations: 4.459 MB / 345.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002727/0.2166, allocations: 1.16 MB / 346.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.2209, allocations: 1.523 MB / 348.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002503/0.2234, allocations: 2.497 MB / 350.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005728/0.2291, allocations: 3.177 MB / 354.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.2401, allocations: 7.766 MB / 361.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2401, allocations: 0 / 361.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2401, allocations: 0 / 361.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003394/0.2404, allocations: 0 / 361.9 MB, free: 12.8 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.01736/0.2578, allocations: 10.35 MB / 372.2 MB, free: 2.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2578, allocations: 12.92 kB / 372.3 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.2745, allocations: 6.597 MB / 378.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008331/0.2828, allocations: 4.859 MB / 383.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.2832, allocations: 0.5376 MB / 384.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.2847, allocations: 0.703 MB / 385 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.2977, allocations: 6.376 MB / 391.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.2978, allocations: 23.88 kB / 391.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006249/0.2984, allocations: 292 kB / 391.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003528/0.2988, allocations: 451 kB / 392.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009351/0.3082, allocations: 3.706 MB / 395.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04035/0.3485, allocations: 30.59 MB / 426.4 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007375/0.3559, allocations: 6.481 MB / 432.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/0.3578, allocations: 1.225 MB / 434.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1556/0.5133, allocations: 4.927 MB / 439 MB, free: 91.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.5134, allocations: 59.5 kB / 439.1 MB, free: 91.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.987e-06/0.5134, allocations: 1.031 kB / 439.1 MB, free: 91.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01272/0.5261, allocations: 6.326 MB / 445.4 MB, free: 90.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001258/0.5274, allocations: 2.227 MB / 447.6 MB, free: 88.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.5321, allocations: 3.316 MB / 450.9 MB, free: 87.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002991/0.5324, allocations: 69.7 kB / 451 MB, free: 87.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.5342, allocations: 3.868 MB / 454.9 MB, free: 85.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006982/0.5349, allocations: 0.8832 MB / 455.8 MB, free: 85.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.536, allocations: 1.027 MB / 456.8 MB, free: 85.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.536, allocations: 479.2 kB / 457.2 MB, free: 84.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5372, allocations: 0.648 MB / 457.9 MB, free: 84.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.5394, allocations: 4.39 MB / 462.3 MB, free: 79.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/0.5435, allocations: 5.525 MB / 467.8 MB, free: 75.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-05/0.5435, allocations: 25.03 kB / 467.8 MB, free: 75.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.006587/0.5501, allocations: 4.606 MB / 472.4 MB, free: 74.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.5502, allocations: 39.16 kB / 472.5 MB, free: 74.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.985e-05/0.5503, allocations: 91.31 kB / 472.6 MB, free: 74.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.5518, allocations: 0.7089 MB / 473.3 MB, free: 74.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.554, allocations: 1.127 MB / 474.4 MB, free: 74.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.5575, allocations: 3.816 MB / 478.2 MB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.5602, allocations: 315 kB / 478.5 MB, free: 72.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.5605, allocations: 269.1 kB / 478.8 MB, free: 72.75 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.001801/0.5623, allocations: 0.5169 MB / 479.3 MB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006365/0.5629, allocations: 452.3 kB / 479.7 MB, free: 72.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.5662, allocations: 2.469 MB / 482.2 MB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.5662, allocations: 25.78 kB / 482.2 MB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.5662, allocations: 7.562 kB / 482.3 MB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5662, allocations: 13.64 kB / 482.3 MB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.5791, allocations: 11.47 MB / 493.7 MB, free: 65.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.5791, allocations: 10.69 kB / 493.7 MB, free: 65.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/0.58, allocations: 481.2 kB / 494.2 MB, free: 64.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.5815, allocations: 0.6682 MB / 494.9 MB, free: 64.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.5816, allocations: 71.88 kB / 495 MB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.5856, allocations: 5.744 MB / 0.489 GB, free: 58.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008026/0.5864, allocations: 2.186 MB / 0.4911 GB, free: 56.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/0.5908, allocations: 3.602 MB / 0.4946 GB, free: 52.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.5919, allocations: 0.6622 MB / 0.4953 GB, free: 52.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.5922, allocations: 63.61 kB / 0.4953 GB, free: 52.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008548/0.593, allocations: 167.1 kB / 0.4955 GB, free: 52.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.5933, allocations: 227.2 kB / 0.4957 GB, free: 51.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.5934, allocations: 91.56 kB / 0.4958 GB, free: 51.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001784/0.5952, allocations: 1.586 MB / 0.4973 GB, free: 50.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5952, allocations: 0 / 0.4973 GB, free: 50.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003574/0.5988, allocations: 1.281 MB / 0.4986 GB, free: 49.07 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.0003782/0.5992, allocations: 242.8 kB / 0.4988 GB, free: 48.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004203/0.6034, allocations: 3.116 MB / 0.5019 GB, free: 45.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.6034, allocations: 4 kB / 0.5019 GB, free: 45.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.6051, allocations: 1.626 MB / 0.5035 GB, free: 44.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.6078, allocations: 0.8671 MB / 0.5043 GB, free: 43.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.6206, allocations: 10.87 MB / 0.5149 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.6219, allocations: 1.769 MB / 0.5166 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002251/0.6241, allocations: 1.15 MB / 0.5178 GB, free: 29.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.6246, allocations: 280.5 kB / 0.518 GB, free: 29.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6246, allocations: 2.188 kB / 0.518 GB, free: 29.16 MB / 378.7 MB Notification: Performance of Templates: time 0.0612/0.6858, allocations: 47.59 MB / 0.5645 GB, free: 14.43 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","",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.506639119237661]