Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009816/0.0009816, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002251, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007373/0.0007373, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008942/0.001631, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9002/0.9002, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1726/1.073, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 4 kB / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.843e-05, allocations: 2.312 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02363/0.02365, allocations: 28.86 MB / 250.7 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.04283, allocations: 9.017 MB / 259.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005724/0.04855, allocations: 199 kB / 259.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007056/0.05561, allocations: 5.186 MB / 265.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00853/0.06414, allocations: 3.068 MB / 268.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.0674, allocations: 1.612 MB / 269.8 MB, free: 4 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009148/0.07655, allocations: 9.129 MB / 278.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1574/0.2339, allocations: 9.033 MB / 288 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/0.2448, allocations: 6.797 MB / 294.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006318/0.2511, allocations: 4.579 MB / 299.3 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002457/0.2535, allocations: 1.157 MB / 300.5 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.2562, allocations: 1.527 MB / 302 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.2575, allocations: 1.989 MB / 304 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.2605, allocations: 2.648 MB / 306.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005847/0.2664, allocations: 7.325 MB / 314 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.2664, allocations: 0 / 314 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2664, allocations: 0 / 314 MB, free: 7.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.367e-05/0.2665, allocations: 0 / 314 MB, free: 7.668 MB / 282.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.0111/0.2776, allocations: 10.95 MB / 324.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2776, allocations: 8.031 kB / 324.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.2919, allocations: 5.369 MB / 330.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/0.2973, allocations: 2.506 MB / 332.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.2976, allocations: 0.5316 MB / 333.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008538/0.2984, allocations: 0.7075 MB / 334 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007648/0.3061, allocations: 5.941 MB / 340 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.3062, allocations: 19.17 kB / 340 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005188/0.3067, allocations: 295.2 kB / 340.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000308/0.307, allocations: 447 kB / 340.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.3118, allocations: 3 MB / 343.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02542/0.3373, allocations: 23.3 MB / 367 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005056/0.3423, allocations: 4.358 MB / 371.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.3433, allocations: 0.9384 MB / 372.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005528/0.3489, allocations: 3.692 MB / 376 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.3489, allocations: 64.31 kB / 376.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=217): time 3.236e-06/0.3489, allocations: 0 / 376.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=233): time 0.007731/0.3566, allocations: 4.691 MB / 380.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001128/0.3578, allocations: 1.614 MB / 382.4 MB, free: 9.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.3597, allocations: 2.611 MB / 385 MB, free: 7.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-05/0.3598, allocations: 61.7 kB / 385.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.3613, allocations: 3.332 MB / 388.4 MB, free: 4.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.3618, allocations: 0.8547 MB / 389.2 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/0.3627, allocations: 0.9056 MB / 390.1 MB, free: 2.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.3627, allocations: 305.1 kB / 390.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3638, allocations: 0.6762 MB / 391.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.3659, allocations: 3.137 MB / 394.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/0.3692, allocations: 4.104 MB / 398.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/0.3693, allocations: 24 kB / 398.4 MB, free: 8.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.00401/0.3733, allocations: 3.475 MB / 401.9 MB, free: 5.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.3733, allocations: 40 kB / 401.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.705e-05/0.3734, allocations: 88 kB / 402 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.3746, allocations: 0.6521 MB / 402.6 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.3766, allocations: 1.172 MB / 403.8 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.3791, allocations: 2.898 MB / 406.7 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.3807, allocations: 235.6 kB / 406.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.381, allocations: 230.3 kB / 407.2 MB, free: 280 kB / 362.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.001347/0.3823, allocations: 497.5 kB / 407.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.3827, allocations: 283.7 kB / 407.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.3849, allocations: 1.874 MB / 409.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3849, allocations: 24 kB / 409.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3849, allocations: 4 kB / 409.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.385, allocations: 19.88 kB / 409.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009162/0.3941, allocations: 7.794 MB / 417.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.3941, allocations: 12 kB / 417.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009517/0.3951, allocations: 466.9 kB / 418.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.3959, allocations: 435.5 kB / 418.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.3973, allocations: 0.7766 MB / 419.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3974, allocations: 63.98 kB / 419.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.4008, allocations: 4.225 MB / 423.6 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1491/0.5499, allocations: 1.551 MB / 425.1 MB, free: 84.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/0.5545, allocations: 2.669 MB / 427.8 MB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006463/0.5551, allocations: 62.14 kB / 427.9 MB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.556, allocations: 91.44 kB / 428 MB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/0.5565, allocations: 227.4 kB / 428.2 MB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.5567, allocations: 69.48 kB / 428.3 MB, free: 83.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002485/0.5592, allocations: 1.192 MB / 429.4 MB, free: 83.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5592, allocations: 2.844 kB / 429.5 MB, free: 83.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004242/0.5634, allocations: 1.286 MB / 430.7 MB, free: 83.25 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.0003449/0.5638, allocations: 204.6 kB / 430.9 MB, free: 83.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003326/0.5671, allocations: 2.559 MB / 433.5 MB, free: 82.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001495/0.5672, allocations: 93.3 kB / 433.6 MB, free: 82.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.5685, allocations: 1.287 MB / 434.9 MB, free: 82.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.5706, allocations: 1.175 MB / 436 MB, free: 82.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04937/0.62, allocations: 10.84 MB / 446.9 MB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.6215, allocations: 1.34 MB / 448.2 MB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002068/0.6235, allocations: 0.6084 MB / 448.8 MB, free: 77.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.6249, allocations: 0.8412 MB / 449.7 MB, free: 77.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6249, allocations: 0 / 449.7 MB, free: 77.69 MB / 378.7 MB Notification: Performance of Templates: time 0.06508/0.69, allocations: 54.81 MB / 0.4927 GB, free: 39.15 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.177494169212878]