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.0008806/0.0008806, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009755/0.0009755, allocations: 156.5 kB / 25.44 MB, free: 8.855 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 1.001/1.001, allocations: 158.6 MB / 187.2 MB, free: 3.043 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 2.434e-06/2.434e-06, allocations: 3.938 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.425e-05, allocations: 2.281 kB / 299.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02604/0.02607, allocations: 25.99 MB / 325.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02006/0.04614, allocations: 8.362 MB / 334.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006144/0.05228, allocations: 195 kB / 334.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00821/0.06049, allocations: 4.855 MB / 339.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008303/0.0688, allocations: 3.06 MB / 342.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.07193, allocations: 1.598 MB / 343.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009933/0.08186, allocations: 9.084 MB / 352.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2159/0.2978, allocations: 9.075 MB / 362 MB, free: 17.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.3085, allocations: 6.357 MB / 368.3 MB, free: 17.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/0.314, allocations: 4.059 MB / 372.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.3162, allocations: 1.162 MB / 373.5 MB, free: 16.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.319, allocations: 1.513 MB / 375 MB, free: 16.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.3204, allocations: 2.472 MB / 377.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004094/0.3245, allocations: 3.139 MB / 380.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.3357, allocations: 15.93 MB / 396.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.3357, allocations: 2.812 kB / 396.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.3357, allocations: 0 / 396.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003541/0.336, allocations: 0 / 396.6 MB, free: 5.145 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.01937/0.3554, allocations: 9.768 MB / 406.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.3555, allocations: 12.03 kB / 406.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/0.3702, allocations: 5.316 MB / 411.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008939/0.3792, allocations: 4.667 MB / 416.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.3795, allocations: 0.5321 MB / 416.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.3809, allocations: 0.7174 MB / 417.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/0.398, allocations: 11.54 MB / 429.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.3981, allocations: 15.94 kB / 429.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005451/0.3987, allocations: 299.2 kB / 429.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003212/0.399, allocations: 447 kB / 429.9 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.413, allocations: 10.76 MB / 440.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03726/0.4503, allocations: 32.53 MB / 473.2 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/0.4578, allocations: 7.399 MB / 480.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.4605, allocations: 2.423 MB / 483 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009051/0.4695, allocations: 6.81 MB / 489.8 MB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.4695, allocations: 56.56 kB / 489.9 MB, free: 9.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 5.21e-06/0.4696, allocations: 0 / 489.9 MB, free: 9.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=233): time 0.01388/0.4834, allocations: 10.25 MB / 0.4884 GB, free: 15.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001375/0.4848, allocations: 1.852 MB / 0.4902 GB, free: 13.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004316/0.4891, allocations: 3.622 MB / 0.4937 GB, free: 10.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.4893, allocations: 69.7 kB / 0.4938 GB, free: 10.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.4911, allocations: 3.683 MB / 0.4974 GB, free: 6.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008148/0.492, allocations: 0.8481 MB / 0.4982 GB, free: 5.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.493, allocations: 0.9496 MB / 0.4992 GB, free: 4.637 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.4931, allocations: 313.2 kB / 0.4995 GB, free: 4.328 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.495, allocations: 1.887 MB / 0.5013 GB, free: 2.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/0.4983, allocations: 4.447 MB / 0.5056 GB, free: 12.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/0.5037, allocations: 6.781 MB / 0.5123 GB, free: 5.156 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.908e-05/0.5037, allocations: 24 kB / 0.5123 GB, free: 5.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.1996/0.7033, allocations: 6.956 MB / 0.5191 GB, free: 118.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.7033, allocations: 44.09 kB / 0.5191 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.7035, allocations: 88.22 kB / 0.5192 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.7047, allocations: 0.7368 MB / 0.5199 GB, free: 118.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/0.7072, allocations: 1.117 MB / 0.521 GB, free: 118.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00507/0.7123, allocations: 5.392 MB / 0.5263 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/0.715, allocations: 317.4 kB / 0.5266 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/0.7154, allocations: 272.3 kB / 0.5268 GB, free: 117.6 MB / 458.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.004135/0.7195, allocations: 2.527 MB / 0.5293 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.7201, allocations: 373.7 kB / 0.5297 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004822/0.7249, allocations: 4.233 MB / 0.5338 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7249, allocations: 22.94 kB / 0.5338 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.7249, allocations: 6.344 kB / 0.5338 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.725, allocations: 17.97 kB / 0.5339 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.7379, allocations: 12.62 MB / 0.5462 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.7379, allocations: 13.7 kB / 0.5462 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009394/0.7389, allocations: 482.7 kB / 0.5466 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.7401, allocations: 0.6918 MB / 0.5473 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.7402, allocations: 68.23 kB / 0.5474 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005743/0.7459, allocations: 7.116 MB / 0.5543 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009745/0.7469, allocations: 1.814 MB / 0.5561 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00621/0.7531, allocations: 6.69 MB / 0.5626 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.7542, allocations: 0.714 MB / 0.5633 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.7545, allocations: 65.81 kB / 0.5634 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/0.7554, allocations: 155.6 kB / 0.5635 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.7556, allocations: 236.4 kB / 0.5638 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.7557, allocations: 98.11 kB / 0.5639 GB, free: 103.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002316/0.758, allocations: 2.259 MB / 0.5661 GB, free: 102.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.758, allocations: 0 / 0.5661 GB, free: 102.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003211/0.7613, allocations: 1.286 MB / 0.5673 GB, free: 102.4 MB / 458.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.0003561/0.7616, allocations: 237.4 kB / 0.5676 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004426/0.766, allocations: 4.814 MB / 0.5723 GB, free: 99.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.766, allocations: 4 kB / 0.5723 GB, free: 99.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.7679, allocations: 2.183 MB / 0.5744 GB, free: 97.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.77, allocations: 0.8593 MB / 0.5752 GB, free: 96.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.7823, allocations: 12.37 MB / 0.5873 GB, free: 84.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.7846, allocations: 3.896 MB / 0.5911 GB, free: 81.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/0.7852, allocations: 320.4 kB / 0.5914 GB, free: 80.72 MB / 458.7 MB Notification: Performance of SimCode: time 1.814e-06/0.7852, allocations: 0 / 0.5914 GB, free: 80.72 MB / 458.7 MB Notification: Performance of Templates: time 0.283/1.068, allocations: 201.8 MB / 0.7885 GB, free: 119.7 MB / 490.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 11.572803945280612]