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.001272/0.001272, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001651/0.001651, allocations: 161.3 kB / 25.6 MB, free: 8.895 MB / 18.57 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.9285/0.9285, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.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 1.773e-06/1.773e-06, allocations: 0 / 251.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.067e-05, allocations: 2.312 kB / 251.5 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0309/0.03092, allocations: 28.59 MB / 280.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02065/0.05156, allocations: 8.522 MB / 288.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006551/0.05812, allocations: 203 kB / 288.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009661/0.06778, allocations: 5.046 MB / 293.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009973/0.07775, allocations: 3.072 MB / 296.9 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.08176, allocations: 1.608 MB / 298.5 MB, free: 7.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01193/0.09368, allocations: 9.071 MB / 307.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.1042, allocations: 9.11 MB / 316.7 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007565/0.1118, allocations: 6.415 MB / 323.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005514/0.1173, allocations: 4.545 MB / 327.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.1194, allocations: 1.156 MB / 328.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.1218, allocations: 1.523 MB / 330.4 MB, free: 8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001438/0.1232, allocations: 2.501 MB / 332.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003565/0.1268, allocations: 3.165 MB / 336 MB, free: 2.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009609/0.1364, allocations: 7.743 MB / 343.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1364, allocations: 0 / 343.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1364, allocations: 4 kB / 343.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002639/0.1367, allocations: 0 / 343.8 MB, free: 10.55 MB / 330.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.01388/0.1505, allocations: 9.861 MB / 353.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1506, allocations: 12.03 kB / 353.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1516/0.3022, allocations: 5.005 MB / 358.7 MB, free: 60.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006893/0.3091, allocations: 4.093 MB / 362.7 MB, free: 60.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.3094, allocations: 0.5286 MB / 363.3 MB, free: 60.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.3107, allocations: 0.7073 MB / 364 MB, free: 60.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008162/0.3189, allocations: 5.844 MB / 369.8 MB, free: 59.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.319, allocations: 21 kB / 369.8 MB, free: 59.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/0.3195, allocations: 299.7 kB / 370.1 MB, free: 59.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/0.3198, allocations: 449 kB / 370.6 MB, free: 59.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.3243, allocations: 2.891 MB / 373.5 MB, free: 59.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02762/0.3519, allocations: 30.18 MB / 403.6 MB, free: 34.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004832/0.3567, allocations: 5.705 MB / 409.4 MB, free: 29.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.3577, allocations: 1.069 MB / 410.4 MB, free: 28.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005578/0.3633, allocations: 4.722 MB / 415.1 MB, free: 24.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3633, allocations: 59.39 kB / 415.2 MB, free: 24.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=217): time 3.486e-06/0.3633, allocations: 0 / 415.2 MB, free: 24.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=233): time 0.007858/0.3712, allocations: 5.122 MB / 420.3 MB, free: 19.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001008/0.3722, allocations: 2.194 MB / 422.5 MB, free: 17.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.375, allocations: 3.267 MB / 425.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.721e-05/0.3751, allocations: 69.7 kB / 425.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.3765, allocations: 3.897 MB / 429.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.3769, allocations: 0.8806 MB / 430.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/0.3777, allocations: 1.05 MB / 431.7 MB, free: 8.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.3777, allocations: 484.7 kB / 432.2 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/0.3786, allocations: 0.5677 MB / 432.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.3804, allocations: 4.343 MB / 437.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003863/0.3843, allocations: 5.323 MB / 442.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.611e-05/0.3843, allocations: 24.44 kB / 442.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005336/0.3897, allocations: 4.228 MB / 446.6 MB, free: 7.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.3897, allocations: 52.05 kB / 446.7 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.323e-05/0.3898, allocations: 84 kB / 446.8 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.3911, allocations: 0.6836 MB / 447.5 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.3929, allocations: 1.052 MB / 448.5 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.396, allocations: 3.64 MB / 452.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.3979, allocations: 239.6 kB / 452.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.3981, allocations: 236 kB / 452.6 MB, free: 1.645 MB / 346.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.00142/0.3995, allocations: 0.5211 MB / 453.1 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.4001, allocations: 445.6 kB / 453.6 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.4028, allocations: 2.223 MB / 455.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4028, allocations: 24 kB / 455.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4028, allocations: 12 kB / 455.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.4028, allocations: 15.89 kB / 455.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.4153, allocations: 11.19 MB / 467 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.4154, allocations: 12 kB / 467 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/0.4162, allocations: 415.3 kB / 467.5 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.4176, allocations: 0.6434 MB / 468.1 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.4178, allocations: 67.98 kB / 468.2 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/0.422, allocations: 5.522 MB / 473.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001277/0.4233, allocations: 2.156 MB / 475.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/0.4278, allocations: 3.257 MB / 479.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.4289, allocations: 0.618 MB / 479.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.4291, allocations: 60 kB / 479.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/0.4299, allocations: 83.97 kB / 479.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.4302, allocations: 235.8 kB / 480.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4303, allocations: 75.97 kB / 480.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00149/0.4318, allocations: 1.458 MB / 481.6 MB, free: 5.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4318, allocations: 4 kB / 481.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003608/0.4354, allocations: 1.285 MB / 482.9 MB, free: 3.77 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.000331/0.4357, allocations: 230.2 kB / 483.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003256/0.439, allocations: 2.872 MB / 486 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.439, allocations: 4 kB / 486 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.4404, allocations: 1.522 MB / 487.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.4425, allocations: 0.8748 MB / 488.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.4563, allocations: 10.79 MB / 499.2 MB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.4577, allocations: 1.773 MB / 0.4892 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001715/0.4595, allocations: 0.5967 MB / 0.4898 GB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.4609, allocations: 0.943 MB / 0.4907 GB, free: 288 kB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4609, allocations: 2.297 kB / 0.4907 GB, free: 288 kB / 394.7 MB Notification: Performance of Templates: time 0.1936/0.6545, allocations: 52.24 MB / 0.5417 GB, free: 77.88 MB / 394.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 -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.174535567872226]