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.001574/0.001574, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001754/0.001754, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001615/0.001615, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2752, allocations: 53.36 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03459/0.3098, allocations: 26.62 MB / 459 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02012/0.3299, allocations: 8.561 MB / 467.5 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006649/0.3365, allocations: 226.9 kB / 467.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01335/0.3499, allocations: 4.65 MB / 472.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.3607, allocations: 3.056 MB / 475.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005525/0.3662, allocations: 1.59 MB / 477.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.3802, allocations: 8.864 MB / 485.9 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/0.3964, allocations: 9.08 MB / 495 MB, free: 7.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007955/0.4044, allocations: 4.355 MB / 499.4 MB, free: 3.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008968/0.4134, allocations: 4.624 MB / 0.4922 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003458/0.4168, allocations: 1.164 MB / 0.4933 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005347/0.4222, allocations: 1.519 MB / 0.4948 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004049/0.4262, allocations: 2.411 MB / 0.4971 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008797/0.435, allocations: 3.661 MB / 0.5007 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02456/0.4596, allocations: 15.93 MB / 0.5163 GB, free: 6.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4596, allocations: 0 / 0.5163 GB, free: 6.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4596, allocations: 4 kB / 0.5163 GB, free: 6.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005063/0.4601, allocations: 0 / 0.5163 GB, free: 6.031 MB / 430.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.03496/0.495, allocations: 9.88 MB / 0.5259 GB, free: 12.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4951, allocations: 16.03 kB / 0.526 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/0.5265, allocations: 5.22 MB / 0.531 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.5423, allocations: 5.109 MB / 0.536 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007338/0.543, allocations: 0.5377 MB / 0.5366 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003314/0.5463, allocations: 0.7069 MB / 0.5373 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2693/0.8156, allocations: 11.58 MB / 0.5486 GB, free: 89.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002257/0.8158, allocations: 12.23 kB / 0.5486 GB, free: 89.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/0.8172, allocations: 294.4 kB / 0.5489 GB, free: 88.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003757/0.8175, allocations: 447.7 kB / 0.5493 GB, free: 88.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.8369, allocations: 10.82 MB / 0.5598 GB, free: 80.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05267/0.8895, allocations: 32.68 MB / 0.5918 GB, free: 48.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.9007, allocations: 7.439 MB / 0.599 GB, free: 41.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/0.9041, allocations: 2.448 MB / 0.6014 GB, free: 39.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.9154, allocations: 6.889 MB / 0.6081 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.9154, allocations: 60.56 kB / 0.6082 GB, free: 32.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.17e-06/0.9154, allocations: 0 / 0.6082 GB, free: 32.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01749/0.9329, allocations: 10.29 MB / 0.6183 GB, free: 22.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001741/0.9346, allocations: 1.867 MB / 0.6201 GB, free: 20.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/0.94, allocations: 3.639 MB / 0.6236 GB, free: 17.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004378/0.9404, allocations: 65.7 kB / 0.6237 GB, free: 17.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.9421, allocations: 3.699 MB / 0.6273 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/0.9428, allocations: 0.8669 MB / 0.6282 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.9439, allocations: 0.9653 MB / 0.6291 GB, free: 11.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.9439, allocations: 301.1 kB / 0.6294 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.9461, allocations: 1.895 MB / 0.6312 GB, free: 9.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.9493, allocations: 4.442 MB / 0.6356 GB, free: 3.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00782/0.9571, allocations: 6.804 MB / 0.6422 GB, free: 11.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/0.9573, allocations: 28 kB / 0.6422 GB, free: 11.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01342/0.9707, allocations: 6.97 MB / 0.649 GB, free: 4.703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.9707, allocations: 40 kB / 0.6491 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.9709, allocations: 88.09 kB / 0.6492 GB, free: 4.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.9729, allocations: 0.737 MB / 0.6499 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003833/0.9768, allocations: 1.127 MB / 0.651 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008366/0.9851, allocations: 5.415 MB / 0.6563 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004692/0.9898, allocations: 331.2 kB / 0.6566 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009685/0.9908, allocations: 276 kB / 0.6569 GB, free: 12.6 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.005867/0.9966, allocations: 2.518 MB / 0.6593 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/0.998, allocations: 373.6 kB / 0.6597 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009739/1.008, allocations: 4.229 MB / 0.6638 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/1.008, allocations: 27.94 kB / 0.6638 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/1.008, allocations: 11.94 kB / 0.6638 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/1.008, allocations: 11.95 kB / 0.6639 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02854/1.036, allocations: 12.67 MB / 0.6762 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/1.036, allocations: 12 kB / 0.6762 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/1.038, allocations: 483.2 kB / 0.6767 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/1.041, allocations: 0.6976 MB / 0.6774 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002578/1.041, allocations: 71.98 kB / 0.6774 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.051, allocations: 7.105 MB / 0.6844 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001981/1.053, allocations: 1.815 MB / 0.6862 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.066, allocations: 6.733 MB / 0.6927 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002703/1.069, allocations: 0.7199 MB / 0.6934 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/1.07, allocations: 59.98 kB / 0.6935 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.072, allocations: 163.9 kB / 0.6937 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005456/1.073, allocations: 237.3 kB / 0.6939 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.073, allocations: 95.92 kB / 0.694 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005112/1.078, allocations: 2.272 MB / 0.6962 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.078, allocations: 0 / 0.6962 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00681/1.085, allocations: 1.293 MB / 0.6975 GB, free: 2.211 MB / 0.4981 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.0008081/1.086, allocations: 226.4 kB / 0.6977 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009433/1.095, allocations: 4.822 MB / 0.7024 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/1.095, allocations: 4 kB / 0.7024 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/1.1, allocations: 2.194 MB / 0.7045 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005913/1.105, allocations: 0.8754 MB / 0.7054 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.133, allocations: 12.42 MB / 0.7175 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004775/1.137, allocations: 3.902 MB / 0.7213 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.139, allocations: 335.3 kB / 0.7216 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/1.139, allocations: 4 kB / 0.7216 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of Templates: time 0.435/1.574, allocations: 203.5 MB / 0.9203 GB, free: 16.96 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.899725699797273]