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.001275/0.001275, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 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.001331/0.001331, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 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 1.49/1.49, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001532/0.001532, allocations: 51.91 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1236, allocations: 52.13 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.3544/0.478, allocations: 30.47 MB / 449.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0212/0.4993, allocations: 8.665 MB / 458.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008736/0.508, allocations: 186.8 kB / 458.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01451/0.5225, allocations: 4.995 MB / 463.3 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.5368, allocations: 3.058 MB / 466.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006678/0.5435, allocations: 1.604 MB / 468 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.5605, allocations: 8.719 MB / 476.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02088/0.5814, allocations: 10.04 MB / 486.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.5918, allocations: 4.242 MB / 490.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.6029, allocations: 4.796 MB / 495.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004489/0.6074, allocations: 1.165 MB / 496.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007994/0.6154, allocations: 1.523 MB / 498.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005573/0.621, allocations: 2.417 MB / 0.4891 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01366/0.6347, allocations: 4.666 MB / 0.4937 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03164/0.6663, allocations: 15.85 MB / 0.5091 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.6663, allocations: 0 / 0.5091 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6663, allocations: 0 / 0.5091 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006638/0.667, allocations: 0 / 0.5091 GB, free: 15.14 MB / 414.1 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.03929/0.7063, allocations: 9.934 MB / 0.5188 GB, free: 5.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.7063, allocations: 8.031 kB / 0.5189 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03174/0.738, allocations: 5.309 MB / 0.524 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.7526, allocations: 5.131 MB / 0.529 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007211/0.7533, allocations: 0.5303 MB / 0.5296 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003963/0.7573, allocations: 0.7036 MB / 0.5303 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03604/0.7933, allocations: 11.32 MB / 0.5413 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003944/0.7937, allocations: 15.94 kB / 0.5413 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003155/0.7969, allocations: 301.6 kB / 0.5416 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006259/0.7975, allocations: 451 kB / 0.542 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/0.8285, allocations: 10.83 MB / 0.5526 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08667/0.9152, allocations: 37.67 MB / 0.5894 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03019/0.9454, allocations: 27.78 MB / 0.6165 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005707/0.9511, allocations: 2.428 MB / 0.6189 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01838/0.9695, allocations: 7.911 MB / 0.6266 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.9695, allocations: 60.5 kB / 0.6267 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.058e-06/0.9695, allocations: 0 / 0.6267 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.3035/1.273, allocations: 10.43 MB / 0.6369 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001904/1.275, allocations: 2.002 MB / 0.6388 GB, free: 157 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007636/1.283, allocations: 3.827 MB / 0.6426 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005509/1.283, allocations: 66.8 kB / 0.6426 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002868/1.286, allocations: 3.673 MB / 0.6462 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/1.287, allocations: 0.8752 MB / 0.6471 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/1.289, allocations: 0.9598 MB / 0.648 GB, free: 152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.457e-05/1.289, allocations: 307 kB / 0.6483 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/1.292, allocations: 1.896 MB / 0.6502 GB, free: 151 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/1.296, allocations: 4.385 MB / 0.6544 GB, free: 147 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/1.304, allocations: 6.789 MB / 0.6611 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.304, allocations: 24.91 kB / 0.6611 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01277/1.317, allocations: 6.982 MB / 0.6679 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/1.317, allocations: 40.47 kB / 0.6679 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.317, allocations: 90.94 kB / 0.668 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/1.319, allocations: 0.7329 MB / 0.6688 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/1.323, allocations: 1.12 MB / 0.6698 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/1.329, allocations: 5.642 MB / 0.6754 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005106/1.334, allocations: 321.4 kB / 0.6757 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.335, allocations: 275.5 kB / 0.6759 GB, free: 134.9 MB / 0.5137 GB 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.006053/1.341, allocations: 2.53 MB / 0.6784 GB, free: 133.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/1.343, allocations: 400.9 kB / 0.6788 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007595/1.351, allocations: 4.241 MB / 0.6829 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.351, allocations: 30.16 kB / 0.6829 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.351, allocations: 7.781 kB / 0.683 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/1.351, allocations: 15.38 kB / 0.683 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.372, allocations: 14.26 MB / 0.6969 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.372, allocations: 12 kB / 0.6969 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.374, allocations: 479.2 kB / 0.6974 GB, free: 120.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/1.376, allocations: 0.6934 MB / 0.698 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/1.376, allocations: 67.98 kB / 0.6981 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007309/1.383, allocations: 7.501 MB / 0.7054 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001325/1.384, allocations: 1.948 MB / 0.7073 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008764/1.393, allocations: 6.736 MB / 0.7139 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.395, allocations: 0.8107 MB / 0.7147 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009344/1.396, allocations: 67.73 kB / 0.7148 GB, free: 101.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.399, allocations: 166 kB / 0.7149 GB, free: 101.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/1.399, allocations: 229.2 kB / 0.7151 GB, free: 101.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.399, allocations: 91.98 kB / 0.7152 GB, free: 101.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003842/1.403, allocations: 2.509 MB / 0.7177 GB, free: 98.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/1.403, allocations: 0 / 0.7177 GB, free: 98.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007117/1.41, allocations: 1.285 MB / 0.7189 GB, free: 97.45 MB / 0.5137 GB 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.0007856/1.411, allocations: 242 kB / 0.7192 GB, free: 97.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007609/1.419, allocations: 4.96 MB / 0.724 GB, free: 92.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/1.419, allocations: 4 kB / 0.724 GB, free: 92.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003569/1.422, allocations: 2.26 MB / 0.7262 GB, free: 89.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/1.428, allocations: 0.9898 MB / 0.7272 GB, free: 88.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.448, allocations: 12.41 MB / 0.7393 GB, free: 76.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003853/1.452, allocations: 4.374 MB / 0.7436 GB, free: 71.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.454, allocations: 335.4 kB / 0.7439 GB, free: 71.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/1.454, allocations: 0 / 0.7439 GB, free: 71.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.5145/1.968, allocations: 201.8 MB / 0.941 GB, free: 75.18 MB / 0.5294 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.65187052707188]