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.0009513/0.0009513, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001013/0.001013, allocations: 167.9 kB / 25.7 MB, free: 8.445 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.7919/0.7919, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.793e-06/1.793e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.871e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02657/0.02659, allocations: 28.61 MB / 280.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.04111, allocations: 8.947 MB / 289.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/0.04412, allocations: 199 kB / 289.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005814/0.04994, allocations: 5.19 MB / 294.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.05504, allocations: 3.103 MB / 297.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.05713, allocations: 1.617 MB / 299.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006596/0.06373, allocations: 9.1 MB / 308.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007936/0.07166, allocations: 9.36 MB / 317.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005783/0.07745, allocations: 6.434 MB / 324.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/0.08118, allocations: 4.58 MB / 328.7 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009012/0.08208, allocations: 1.16 MB / 329.9 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.0837, allocations: 1.503 MB / 331.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.08497, allocations: 2.509 MB / 333.9 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.08731, allocations: 3.165 MB / 337 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005946/0.09326, allocations: 7.735 MB / 344.8 MB, free: 9.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09326, allocations: 4 kB / 344.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.09326, allocations: 7.984 kB / 344.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.658e-05/0.09332, allocations: 0 / 344.8 MB, free: 9.586 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.01087/0.1042, allocations: 9.327 MB / 354.1 MB, free: 180 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1042, allocations: 8.031 kB / 354.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1285/0.2327, allocations: 5.265 MB / 359.4 MB, free: 61.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/0.2393, allocations: 2.496 MB / 361.9 MB, free: 60.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.2395, allocations: 0.5297 MB / 362.4 MB, free: 60.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008388/0.2404, allocations: 0.7198 MB / 363.1 MB, free: 60.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006074/0.2464, allocations: 5.932 MB / 369.1 MB, free: 60.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.2466, allocations: 20.58 kB / 369.1 MB, free: 60.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004654/0.247, allocations: 300.3 kB / 369.4 MB, free: 60.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/0.2473, allocations: 445.8 kB / 369.8 MB, free: 60.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.2513, allocations: 3 MB / 372.8 MB, free: 59.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/0.272, allocations: 23.19 MB / 396 MB, free: 42.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.2761, allocations: 4.361 MB / 400.4 MB, free: 37.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008852/0.277, allocations: 0.9436 MB / 401.3 MB, free: 36.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00493/0.2819, allocations: 3.689 MB / 405 MB, free: 33.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2819, allocations: 64.22 kB / 405 MB, free: 33.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=217): time 3.967e-06/0.2819, allocations: 0 / 405 MB, free: 33.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=233): time 0.006587/0.2885, allocations: 4.687 MB / 409.7 MB, free: 29.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007183/0.2892, allocations: 1.611 MB / 411.3 MB, free: 27.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.2908, allocations: 2.609 MB / 414 MB, free: 25.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.2909, allocations: 61.7 kB / 414 MB, free: 25.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000789/0.2917, allocations: 3.332 MB / 417.3 MB, free: 21.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.292, allocations: 0.8542 MB / 418.2 MB, free: 21.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006761/0.2926, allocations: 0.9057 MB / 419.1 MB, free: 20.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 1.828e-05/0.2927, allocations: 305.1 kB / 419.4 MB, free: 20.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/0.2936, allocations: 0.6801 MB / 420.1 MB, free: 19.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.295, allocations: 3.13 MB / 423.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.2973, allocations: 4.11 MB / 427.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.2973, allocations: 24 kB / 427.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.003385/0.3007, allocations: 3.471 MB / 430.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3007, allocations: 44 kB / 430.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/0.3007, allocations: 84 kB / 430.9 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.3019, allocations: 0.653 MB / 431.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.3035, allocations: 1.033 MB / 432.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.3057, allocations: 2.884 MB / 435.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.3073, allocations: 239.6 kB / 435.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.3075, allocations: 228 kB / 436 MB, free: 2.328 MB / 330.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.001165/0.3087, allocations: 477.2 kB / 436.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.309, allocations: 295.6 kB / 436.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.3112, allocations: 1.881 MB / 438.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3113, allocations: 27.98 kB / 438.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3113, allocations: 4 kB / 438.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.3113, allocations: 15.95 kB / 438.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.3214, allocations: 7.794 MB / 446.4 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.3214, allocations: 12 kB / 446.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009091/0.3223, allocations: 399.8 kB / 446.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.3237, allocations: 0.7733 MB / 447.6 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.3239, allocations: 59.98 kB / 447.7 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.3274, allocations: 4.193 MB / 451.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007725/0.3282, allocations: 1.549 MB / 453.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.3313, allocations: 2.673 MB / 456.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/0.3322, allocations: 429.1 kB / 456.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.3325, allocations: 60 kB / 456.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/0.3332, allocations: 92 kB / 456.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.3335, allocations: 232.9 kB / 456.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.3336, allocations: 59.98 kB / 457 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.3349, allocations: 1.194 MB / 458.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3349, allocations: 0 / 458.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003049/0.3379, allocations: 1.289 MB / 459.4 MB, free: 11.43 MB / 362.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.0003291/0.3383, allocations: 208.3 kB / 459.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.3411, allocations: 2.557 MB / 462.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001067/0.3412, allocations: 68.62 kB / 462.3 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.3425, allocations: 1.277 MB / 463.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.3445, allocations: 0.8665 MB / 464.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.3567, allocations: 10.55 MB / 475 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.3579, allocations: 1.34 MB / 476.3 MB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00159/0.3595, allocations: 0.6006 MB / 476.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.3608, allocations: 0.8461 MB / 477.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3608, allocations: 0 / 477.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of Templates: time 0.1642/0.5251, allocations: 52.44 MB / 0.5177 GB, free: 100.7 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.0163958659395576]