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.0009663/0.0009663, allocations: 84 kB / 21.43 MB, free: 3.129 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.005976/0.005976, allocations: 143.6 kB / 24.68 MB, free: 8.906 MB / 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.8785/0.8785, allocations: 173.4 MB / 201.2 MB, free: 9.434 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.243e-06/1.243e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.992e-05, allocations: 6.219 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.01816/0.01818, allocations: 26.11 MB / 345.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.03217, allocations: 8.334 MB / 354.2 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.03528, allocations: 218.9 kB / 354.4 MB, free: 3.035 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005066/0.04035, allocations: 4.859 MB / 359.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.04515, allocations: 3.114 MB / 362.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.04723, allocations: 1.584 MB / 363.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00722/0.05445, allocations: 9.068 MB / 373 MB, free: 360 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009669/0.06412, allocations: 9.111 MB / 382.1 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006253/0.07037, allocations: 6.36 MB / 388.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.07391, allocations: 4.054 MB / 392.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009644/0.07488, allocations: 1.16 MB / 393.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.07652, allocations: 1.523 MB / 395.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.07785, allocations: 2.458 MB / 397.7 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.08016, allocations: 3.142 MB / 400.8 MB, free: 4.406 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.0906, allocations: 16 MB / 416.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.09061, allocations: 3.938 kB / 416.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.09061, allocations: 0 / 416.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001852/0.0908, allocations: 3.938 kB / 416.8 MB, free: 4.352 MB / 378.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.01473/0.1055, allocations: 9.763 MB / 426.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1056, allocations: 8.922 kB / 426.6 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.119, allocations: 5.321 MB / 431.9 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007118/0.1261, allocations: 5.09 MB / 437 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.1264, allocations: 0.5299 MB / 437.5 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008169/0.1272, allocations: 0.703 MB / 438.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.1401, allocations: 11.55 MB / 449.8 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.1402, allocations: 11.91 kB / 449.8 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000513/0.1407, allocations: 296 kB / 450.1 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/0.141, allocations: 454.9 kB / 450.5 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1798/0.3208, allocations: 10.78 MB / 461.3 MB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02772/0.3485, allocations: 32.54 MB / 493.9 MB, free: 79.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006265/0.3548, allocations: 7.37 MB / 0.4895 GB, free: 73.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.3568, allocations: 2.423 MB / 0.4918 GB, free: 71.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006875/0.3636, allocations: 6.8 MB / 0.4985 GB, free: 64.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3637, allocations: 68.09 kB / 0.4985 GB, free: 64.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 3.196e-06/0.3637, allocations: 0 / 0.4985 GB, free: 64.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=233): time 0.01092/0.3746, allocations: 10.25 MB / 0.5086 GB, free: 54.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001024/0.3756, allocations: 1.851 MB / 0.5104 GB, free: 52.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/0.3787, allocations: 3.622 MB / 0.5139 GB, free: 48.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.3788, allocations: 61.7 kB / 0.514 GB, free: 48.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009381/0.3797, allocations: 3.681 MB / 0.5176 GB, free: 45.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.38, allocations: 0.852 MB / 0.5184 GB, free: 44.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000732/0.3808, allocations: 0.9535 MB / 0.5193 GB, free: 43.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.221e-05/0.3808, allocations: 301.1 kB / 0.5196 GB, free: 43.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.3824, allocations: 1.895 MB / 0.5215 GB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.3846, allocations: 4.45 MB / 0.5258 GB, free: 35.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.3889, allocations: 6.78 MB / 0.5324 GB, free: 27.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/0.3889, allocations: 24 kB / 0.5325 GB, free: 27.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.006364/0.3953, allocations: 6.958 MB / 0.5392 GB, free: 20.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.3953, allocations: 40 kB / 0.5393 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.318e-05/0.3954, allocations: 88 kB / 0.5394 GB, free: 20.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3964, allocations: 0.7405 MB / 0.5401 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.3981, allocations: 1.119 MB / 0.5412 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.4019, allocations: 5.413 MB / 0.5465 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.4039, allocations: 315.4 kB / 0.5468 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/0.4041, allocations: 279.9 kB / 0.547 GB, free: 12.45 MB / 410.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.002939/0.4071, allocations: 2.526 MB / 0.5495 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.4074, allocations: 373.6 kB / 0.5499 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.4113, allocations: 4.217 MB / 0.554 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4113, allocations: 27.98 kB / 0.554 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4113, allocations: 12 kB / 0.554 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4114, allocations: 11.95 kB / 0.554 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.4245, allocations: 12.62 MB / 0.5664 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4245, allocations: 12 kB / 0.5664 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.4255, allocations: 479.2 kB / 0.5668 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.4266, allocations: 0.6898 MB / 0.5675 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.4267, allocations: 75.97 kB / 0.5676 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005907/0.4326, allocations: 7.118 MB / 0.5745 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001302/0.4339, allocations: 1.815 MB / 0.5763 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/0.4406, allocations: 6.69 MB / 0.5828 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.4419, allocations: 0.7121 MB / 0.5835 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.4421, allocations: 67.73 kB / 0.5836 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.443, allocations: 163.9 kB / 0.5837 GB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.4433, allocations: 233.3 kB / 0.584 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.4434, allocations: 95.92 kB / 0.5841 GB, free: 5.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002436/0.4458, allocations: 2.263 MB / 0.5863 GB, free: 3.457 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4458, allocations: 0 / 0.5863 GB, free: 3.457 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003376/0.4492, allocations: 1.281 MB / 0.5875 GB, free: 2.176 MB / 442.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.0003683/0.4496, allocations: 238.8 kB / 0.5877 GB, free: 1.938 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005291/0.4549, allocations: 4.81 MB / 0.5924 GB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4549, allocations: 4 kB / 0.5924 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.4569, allocations: 2.177 MB / 0.5946 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.4589, allocations: 0.8534 MB / 0.5954 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.4734, allocations: 12.36 MB / 0.6075 GB, free: 13.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/0.4766, allocations: 3.905 MB / 0.6113 GB, free: 9.551 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000832/0.4774, allocations: 316.4 kB / 0.6116 GB, free: 9.242 MB / 474.7 MB Notification: Performance of SimCode: time 1.512e-06/0.4774, allocations: 0 / 0.6116 GB, free: 9.242 MB / 474.7 MB Notification: Performance of Templates: time 0.4294/0.9068, allocations: 201.8 MB / 0.8087 GB, free: 169.5 MB / 490.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.598926256410778]