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.00139/0.00139, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001197/0.001197, allocations: 173.9 kB / 25.33 MB, free: 9.438 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.8411/0.8411, allocations: 158.6 MB / 187.2 MB, free: 2.527 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.764e-06/1.764e-06, allocations: 0 / 251.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.01e-05, allocations: 10.31 kB / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02247/0.02249, allocations: 29.83 MB / 280.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02621/0.04871, allocations: 8.562 MB / 289.5 MB, free: 13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008785/0.05749, allocations: 199 kB / 289.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009908/0.0674, allocations: 5.19 MB / 294.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009516/0.07691, allocations: 3.088 MB / 298 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.08081, allocations: 1.629 MB / 299.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1476/0.2284, allocations: 9.077 MB / 308.7 MB, free: 17.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.2447, allocations: 9.093 MB / 317.8 MB, free: 16.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01678/0.2615, allocations: 6.406 MB / 324.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007153/0.2686, allocations: 4.459 MB / 328.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002665/0.2713, allocations: 1.158 MB / 329.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.2749, allocations: 1.52 MB / 331.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.2761, allocations: 2.493 MB / 333.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003982/0.2801, allocations: 3.179 MB / 337 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006653/0.2867, allocations: 7.76 MB / 344.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2867, allocations: 1.188 kB / 344.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.2867, allocations: 0 / 344.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.2868, allocations: 0 / 344.7 MB, free: 3.109 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.01391/0.3007, allocations: 10.36 MB / 355.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3008, allocations: 8.031 kB / 355.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.3161, allocations: 6.607 MB / 361.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006288/0.3224, allocations: 4.379 MB / 366.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.3227, allocations: 0.528 MB / 366.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008583/0.3236, allocations: 0.7117 MB / 367.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009594/0.3332, allocations: 6.38 MB / 373.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.3333, allocations: 23.91 kB / 373.7 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004999/0.3338, allocations: 296.3 kB / 374 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003025/0.3341, allocations: 446.9 kB / 374.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006691/0.3408, allocations: 3.706 MB / 378.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.3705, allocations: 30.6 MB / 408.8 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006636/0.3771, allocations: 6.477 MB / 415.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.3786, allocations: 1.218 MB / 416.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006553/0.3852, allocations: 4.929 MB / 421.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.3852, allocations: 67.33 kB / 421.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 3.647e-06/0.3852, allocations: 0 / 421.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=233): time 0.009752/0.395, allocations: 6.335 MB / 427.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001296/0.3963, allocations: 2.236 MB / 430 MB, free: 14.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/0.3996, allocations: 3.321 MB / 433.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.841e-05/0.3997, allocations: 61.7 kB / 433.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.4014, allocations: 3.867 MB / 437.3 MB, free: 7.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.4019, allocations: 0.883 MB / 438.1 MB, free: 6.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009615/0.4028, allocations: 1.029 MB / 439.2 MB, free: 5.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.4029, allocations: 476.8 kB / 439.6 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.404, allocations: 0.6498 MB / 440.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1337/0.5377, allocations: 4.388 MB / 444.7 MB, free: 80.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004761/0.5424, allocations: 5.521 MB / 450.2 MB, free: 75.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.578e-05/0.5425, allocations: 27.56 kB / 450.2 MB, free: 75.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.006851/0.5493, allocations: 4.594 MB / 454.8 MB, free: 75.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.5494, allocations: 46.22 kB / 454.9 MB, free: 75.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-05/0.5495, allocations: 85.91 kB / 454.9 MB, free: 75.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.551, allocations: 0.7119 MB / 455.7 MB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.5529, allocations: 1.12 MB / 456.8 MB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.556, allocations: 3.816 MB / 460.6 MB, free: 73.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5576, allocations: 311.9 kB / 460.9 MB, free: 73.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.5578, allocations: 275.4 kB / 461.2 MB, free: 73.95 MB / 378.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.001235/0.5591, allocations: 0.5173 MB / 461.7 MB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/0.5595, allocations: 447 kB / 462.1 MB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.5625, allocations: 2.466 MB / 464.6 MB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5625, allocations: 24.22 kB / 464.6 MB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5625, allocations: 9.156 kB / 464.6 MB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.5625, allocations: 18.64 kB / 464.6 MB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.5735, allocations: 11.47 MB / 476.1 MB, free: 72.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.5735, allocations: 13.59 kB / 476.1 MB, free: 72.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.5745, allocations: 481.5 kB / 476.6 MB, free: 72.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.5758, allocations: 0.6735 MB / 477.3 MB, free: 72.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.5759, allocations: 67.27 kB / 477.3 MB, free: 72.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.5798, allocations: 5.753 MB / 483.1 MB, free: 68.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008271/0.5807, allocations: 2.173 MB / 485.3 MB, free: 66.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.5845, allocations: 3.607 MB / 488.9 MB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009387/0.5855, allocations: 0.662 MB / 489.5 MB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.5857, allocations: 62.89 kB / 489.6 MB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.5866, allocations: 167.1 kB / 489.8 MB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.5868, allocations: 232.1 kB / 490 MB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5869, allocations: 92.83 kB / 490.1 MB, free: 65.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001643/0.5885, allocations: 1.581 MB / 491.7 MB, free: 65.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5885, allocations: 4 kB / 491.7 MB, free: 65.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003324/0.5919, allocations: 1.288 MB / 492.9 MB, free: 65.32 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.0003727/0.5922, allocations: 227.5 kB / 493.2 MB, free: 65.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003807/0.596, allocations: 3.13 MB / 496.3 MB, free: 64.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.596, allocations: 3.781 kB / 496.3 MB, free: 64.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.5977, allocations: 1.63 MB / 497.9 MB, free: 63.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.5997, allocations: 0.8826 MB / 498.8 MB, free: 63.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.6098, allocations: 10.88 MB / 0.4978 GB, free: 53.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.6108, allocations: 1.767 MB / 0.4995 GB, free: 52.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001771/0.6126, allocations: 1.143 MB / 0.5006 GB, free: 51.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.6131, allocations: 279.9 kB / 0.5009 GB, free: 51.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.6131, allocations: 2.625 kB / 0.5009 GB, free: 51.32 MB / 378.7 MB Notification: Performance of Templates: time 0.05454/0.6676, allocations: 47.6 MB / 0.5473 GB, free: 4.695 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 -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.410304977092892]