Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001215/0.001215, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001279/0.001279, allocations: 165.9 kB / 25.61 MB, free: 8.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9452/0.9452, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.433e-05, allocations: 6.234 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02363/0.02365, allocations: 29.26 MB / 303.5 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.04118, allocations: 8.745 MB / 312.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00598/0.04716, allocations: 226.9 kB / 312.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008746/0.0559, allocations: 5.073 MB / 317.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008916/0.06482, allocations: 3.119 MB / 320.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.06782, allocations: 1.598 MB / 322.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009303/0.07713, allocations: 9.203 MB / 331.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.08919, allocations: 9.122 MB / 340.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1488/0.238, allocations: 6.428 MB / 347 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008393/0.2464, allocations: 4.57 MB / 351.6 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002923/0.2493, allocations: 1.158 MB / 352.7 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004728/0.2541, allocations: 1.539 MB / 354.3 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003761/0.2578, allocations: 2.498 MB / 356.8 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007792/0.2656, allocations: 3.174 MB / 359.9 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.279, allocations: 7.78 MB / 367.7 MB, free: 23.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.279, allocations: 0 / 367.7 MB, free: 23.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.279, allocations: 2 kB / 367.7 MB, free: 23.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004179/0.2794, allocations: 0 / 367.7 MB, free: 23.84 MB / 314.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.02147/0.3009, allocations: 9.894 MB / 377.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3009, allocations: 14.05 kB / 377.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.3154, allocations: 4.954 MB / 382.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007398/0.3228, allocations: 4.588 MB / 387.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.3232, allocations: 0.5247 MB / 387.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/0.3249, allocations: 0.7249 MB / 388.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.3376, allocations: 5.86 MB / 394.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.3378, allocations: 17.86 kB / 394.3 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006952/0.3385, allocations: 293.4 kB / 394.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/0.3388, allocations: 450.9 kB / 395 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00612/0.3449, allocations: 2.925 MB / 397.9 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04524/0.3902, allocations: 30.34 MB / 428.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006279/0.3964, allocations: 5.742 MB / 434 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3978, allocations: 1.076 MB / 435.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007684/0.4055, allocations: 4.811 MB / 439.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.4055, allocations: 59.39 kB / 440 MB, free: 8.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 3.947e-06/0.4056, allocations: 0 / 440 MB, free: 8.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=233): time 0.009682/0.4152, allocations: 5.152 MB / 445.1 MB, free: 3.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00182/0.4171, allocations: 2.199 MB / 447.3 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.4211, allocations: 3.296 MB / 450.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002599/0.4214, allocations: 61.7 kB / 450.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002179/0.4235, allocations: 3.894 MB / 454.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.4246, allocations: 0.8841 MB / 455.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.4256, allocations: 1.059 MB / 456.5 MB, free: 8.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4257, allocations: 480.7 kB / 457 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.4269, allocations: 0.5755 MB / 457.6 MB, free: 7.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/0.4301, allocations: 4.342 MB / 461.9 MB, free: 1.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/0.4349, allocations: 5.335 MB / 467.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.652e-05/0.4349, allocations: 24 kB / 467.3 MB, free: 11.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.006127/0.4411, allocations: 4.261 MB / 471.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.4411, allocations: 44.03 kB / 471.6 MB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-05/0.4412, allocations: 88 kB / 471.6 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.4427, allocations: 0.6784 MB / 472.3 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.4448, allocations: 1.048 MB / 473.4 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.4484, allocations: 3.639 MB / 477 MB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.4512, allocations: 239.6 kB / 477.2 MB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/0.4515, allocations: 236 kB / 477.5 MB, free: 1.418 MB / 394.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.001813/0.4533, allocations: 0.5189 MB / 478 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000665/0.454, allocations: 445.6 kB / 478.4 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.4572, allocations: 2.236 MB / 480.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.4572, allocations: 24 kB / 480.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4572, allocations: 4 kB / 480.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.4572, allocations: 11.95 kB / 480.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.4721, allocations: 11.24 MB / 491.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.4722, allocations: 12 kB / 492 MB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/0.4731, allocations: 413.5 kB / 492.4 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.4746, allocations: 0.6404 MB / 493 MB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.4747, allocations: 71.97 kB / 493.1 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1564/0.6311, allocations: 5.506 MB / 498.6 MB, free: 96.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008942/0.632, allocations: 2.149 MB / 0.489 GB, free: 94.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/0.6369, allocations: 3.274 MB / 0.4922 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.6383, allocations: 0.6255 MB / 0.4928 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/0.6387, allocations: 67.64 kB / 0.4929 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008757/0.6395, allocations: 87.33 kB / 0.4929 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/0.6399, allocations: 229.2 kB / 0.4932 GB, free: 93.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.64, allocations: 73.97 kB / 0.4932 GB, free: 93.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001778/0.6418, allocations: 1.473 MB / 0.4947 GB, free: 93.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6418, allocations: 0 / 0.4947 GB, free: 93.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003629/0.6454, allocations: 1.294 MB / 0.4959 GB, free: 93.46 MB / 410.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.000382/0.6458, allocations: 238.1 kB / 0.4962 GB, free: 93.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003587/0.6494, allocations: 2.88 MB / 0.499 GB, free: 93.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.6494, allocations: 3.469 kB / 0.499 GB, free: 93.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.651, allocations: 1.516 MB / 0.5005 GB, free: 92.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.6539, allocations: 0.8967 MB / 0.5013 GB, free: 92.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.6697, allocations: 10.77 MB / 0.5119 GB, free: 87.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/0.672, allocations: 1.776 MB / 0.5136 GB, free: 87.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002267/0.6743, allocations: 0.608 MB / 0.5142 GB, free: 87.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/0.6759, allocations: 0.9561 MB / 0.5151 GB, free: 87.49 MB / 410.7 MB Notification: Performance of SimCode: time 2.465e-06/0.6759, allocations: 0 / 0.5151 GB, free: 87.49 MB / 410.7 MB Notification: Performance of Templates: time 0.07119/0.7471, allocations: 53.89 MB / 0.5677 GB, free: 45.75 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/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.692021991126239]