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.001436/0.001436, allocations: 113.9 kB / 21.94 MB, free: 5.219 MB / 14.72 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.001456/0.001456, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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.581/1.581, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 55.86 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3887, allocations: 49.16 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03727/0.426, allocations: 25.98 MB / 423.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02775/0.4537, allocations: 8.343 MB / 432 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01108/0.4648, allocations: 201.8 kB / 432.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0169/0.4817, allocations: 4.631 MB / 436.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01481/0.4965, allocations: 3 MB / 439.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007156/0.5037, allocations: 1.591 MB / 441.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01767/0.5214, allocations: 8.758 MB / 450.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02314/0.5445, allocations: 9.062 MB / 459.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01505/0.5595, allocations: 4.336 MB / 463.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/0.5732, allocations: 4.526 MB / 468.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005516/0.5787, allocations: 1.16 MB / 469.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008477/0.5872, allocations: 1.507 MB / 470.7 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005931/0.5931, allocations: 2.412 MB / 473.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01127/0.6044, allocations: 3.657 MB / 476.8 MB, free: 3.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02936/0.6338, allocations: 15.82 MB / 492.6 MB, free: 3.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.6338, allocations: 7.938 kB / 492.6 MB, free: 3.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.6338, allocations: 0 / 492.6 MB, free: 3.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005608/0.6343, allocations: 0 / 492.6 MB, free: 3.859 MB / 398.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.04116/0.6755, allocations: 9.834 MB / 0.4907 GB, free: 9.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.6755, allocations: 12.03 kB / 0.4907 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03272/0.7083, allocations: 5.325 MB / 0.4959 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/0.7231, allocations: 4.665 MB / 0.5004 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008114/0.7239, allocations: 0.5299 MB / 0.501 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003918/0.7278, allocations: 0.7069 MB / 0.5016 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03698/0.7648, allocations: 11.54 MB / 0.5129 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005101/0.7653, allocations: 23.83 kB / 0.5129 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002976/0.7683, allocations: 296 kB / 0.5132 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006998/0.769, allocations: 443 kB / 0.5136 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03036/0.7993, allocations: 10.77 MB / 0.5242 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0785/0.8778, allocations: 32.53 MB / 0.5559 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3596/1.237, allocations: 7.376 MB / 0.5631 GB, free: 137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00904/1.246, allocations: 2.419 MB / 0.5655 GB, free: 137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02783/1.274, allocations: 6.799 MB / 0.5721 GB, free: 134.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.122e-05/1.274, allocations: 59.83 kB / 0.5722 GB, free: 134.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 1.132e-05/1.274, allocations: 0 / 0.5722 GB, free: 134.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=233): time 0.03387/1.308, allocations: 10.26 MB / 0.5822 GB, free: 130.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001846/1.31, allocations: 1.864 MB / 0.584 GB, free: 128.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/1.316, allocations: 3.615 MB / 0.5876 GB, free: 127.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004973/1.316, allocations: 73.14 kB / 0.5876 GB, free: 127.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002173/1.319, allocations: 3.697 MB / 0.5913 GB, free: 124.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009269/1.32, allocations: 0.8658 MB / 0.5921 GB, free: 123.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/1.321, allocations: 0.9672 MB / 0.593 GB, free: 123.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/1.321, allocations: 301.1 kB / 0.5933 GB, free: 123.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/1.323, allocations: 1.888 MB / 0.5952 GB, free: 122.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003323/1.327, allocations: 4.449 MB / 0.5995 GB, free: 118.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/1.333, allocations: 6.779 MB / 0.6061 GB, free: 112.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-05/1.333, allocations: 26.31 kB / 0.6062 GB, free: 112.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01074/1.344, allocations: 6.956 MB / 0.613 GB, free: 107.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/1.344, allocations: 40 kB / 0.613 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/1.344, allocations: 88 kB / 0.6131 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/1.346, allocations: 0.7427 MB / 0.6138 GB, free: 106.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/1.349, allocations: 1.114 MB / 0.6149 GB, free: 105.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006113/1.355, allocations: 5.412 MB / 0.6202 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.36, allocations: 311.4 kB / 0.6205 GB, free: 99.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007787/1.361, allocations: 279.9 kB / 0.6207 GB, free: 99.54 MB / 478.1 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.00516/1.366, allocations: 2.522 MB / 0.6232 GB, free: 97 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.367, allocations: 381.6 kB / 0.6236 GB, free: 96.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006831/1.374, allocations: 4.223 MB / 0.6277 GB, free: 92.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/1.374, allocations: 24 kB / 0.6277 GB, free: 92.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.374, allocations: 4 kB / 0.6277 GB, free: 92.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/1.374, allocations: 11.95 kB / 0.6277 GB, free: 92.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.397, allocations: 12.63 MB / 0.6401 GB, free: 79.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.397, allocations: 12 kB / 0.6401 GB, free: 79.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.399, allocations: 483.2 kB / 0.6405 GB, free: 79.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/1.401, allocations: 0.6936 MB / 0.6412 GB, free: 78.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/1.401, allocations: 63.98 kB / 0.6413 GB, free: 78.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007602/1.409, allocations: 7.121 MB / 0.6482 GB, free: 70.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001329/1.41, allocations: 1.817 MB / 0.65 GB, free: 69.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009104/1.419, allocations: 6.71 MB / 0.6566 GB, free: 62.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/1.422, allocations: 0.7121 MB / 0.6572 GB, free: 61.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006973/1.422, allocations: 59.98 kB / 0.6573 GB, free: 61.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.424, allocations: 167.8 kB / 0.6575 GB, free: 61.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004367/1.425, allocations: 233.3 kB / 0.6577 GB, free: 60.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.425, allocations: 91.97 kB / 0.6578 GB, free: 60.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003197/1.428, allocations: 2.26 MB / 0.66 GB, free: 58.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/1.428, allocations: 0 / 0.66 GB, free: 58.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007893/1.436, allocations: 1.285 MB / 0.6612 GB, free: 57.28 MB / 478.1 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.001218/1.437, allocations: 234.5 kB / 0.6615 GB, free: 57.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008167/1.445, allocations: 4.819 MB / 0.6662 GB, free: 52.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/1.445, allocations: 7.938 kB / 0.6662 GB, free: 52.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003389/1.449, allocations: 2.186 MB / 0.6683 GB, free: 50 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004729/1.453, allocations: 0.8629 MB / 0.6691 GB, free: 49.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.475, allocations: 12.43 MB / 0.6813 GB, free: 36.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003682/1.478, allocations: 3.897 MB / 0.6851 GB, free: 32.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/1.48, allocations: 315.4 kB / 0.6854 GB, free: 32.25 MB / 478.1 MB Notification: Performance of SimCode: time 1.863e-06/1.48, allocations: 0 / 0.6854 GB, free: 32.25 MB / 478.1 MB Notification: Performance of Templates: time 0.4857/1.965, allocations: 202 MB / 0.8826 GB, free: 73.95 MB / 0.5137 GB " [Timeout remaining time 658] 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/jenkins1/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/jenkins1/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: 17.847748447675258]