Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001908/0.001908, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 64.03 kB / 378.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2368, allocations: 53.37 MB / 432.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03636/0.2731, allocations: 31.17 MB / 463.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.2924, allocations: 8.927 MB / 472.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005118/0.2975, allocations: 226.9 kB / 472.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.3103, allocations: 5.023 MB / 477.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009718/0.3201, allocations: 3.132 MB / 480.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00497/0.325, allocations: 1.666 MB / 482.3 MB, free: 4.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.3376, allocations: 8.875 MB / 491.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01374/0.3513, allocations: 8.397 MB / 499.6 MB, free: 3.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006427/0.3577, allocations: 4.343 MB / 0.4921 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007654/0.3654, allocations: 4.897 MB / 0.4969 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002789/0.3682, allocations: 1.164 MB / 0.498 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.3724, allocations: 1.562 MB / 0.4996 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002767/0.3752, allocations: 2.415 MB / 0.5019 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006752/0.3819, allocations: 4.684 MB / 0.5065 GB, free: 208 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.4016, allocations: 15.88 MB / 0.522 GB, free: 276 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4017, allocations: 4 kB / 0.522 GB, free: 272 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4017, allocations: 0 / 0.522 GB, free: 272 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004028/0.4021, allocations: 4 kB / 0.522 GB, free: 268 kB / 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.03062/0.4327, allocations: 9.885 MB / 0.5317 GB, free: 6.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4327, allocations: 16.02 kB / 0.5317 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0305/0.4632, allocations: 5.224 MB / 0.5368 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2193/0.6826, allocations: 5.137 MB / 0.5418 GB, free: 89.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/0.683, allocations: 0.5372 MB / 0.5423 GB, free: 89.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/0.6851, allocations: 0.7063 MB / 0.543 GB, free: 88.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.7047, allocations: 11.35 MB / 0.5541 GB, free: 84.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.7049, allocations: 15.81 kB / 0.5541 GB, free: 84.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007905/0.7057, allocations: 297.3 kB / 0.5544 GB, free: 84.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003246/0.706, allocations: 449.7 kB / 0.5548 GB, free: 84.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.7236, allocations: 10.87 MB / 0.5655 GB, free: 76.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0515/0.7751, allocations: 36.69 MB / 0.6013 GB, free: 39.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.7863, allocations: 7.511 MB / 0.6086 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.7896, allocations: 2.444 MB / 0.611 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.8014, allocations: 7.58 MB / 0.6184 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.8015, allocations: 68.5 kB / 0.6185 GB, free: 23.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 3.727e-06/0.8015, allocations: 0 / 0.6185 GB, free: 23.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01972/0.8212, allocations: 10.32 MB / 0.6285 GB, free: 12.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001713/0.8229, allocations: 1.907 MB / 0.6304 GB, free: 10.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006696/0.8296, allocations: 3.839 MB / 0.6342 GB, free: 6.961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004264/0.83, allocations: 73.64 kB / 0.6342 GB, free: 6.883 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.8318, allocations: 3.68 MB / 0.6378 GB, free: 3.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008861/0.8327, allocations: 0.871 MB / 0.6387 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.8343, allocations: 0.9653 MB / 0.6396 GB, free: 1.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.364e-05/0.8343, allocations: 305.1 kB / 0.6399 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/0.8372, allocations: 1.899 MB / 0.6418 GB, free: 15.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006462/0.8437, allocations: 4.392 MB / 0.6461 GB, free: 9.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.8537, allocations: 6.799 MB / 0.6527 GB, free: 1.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.902e-05/0.8538, allocations: 28 kB / 0.6527 GB, free: 1.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01505/0.8689, allocations: 7.001 MB / 0.6596 GB, free: 10.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.869, allocations: 40 kB / 0.6596 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/0.8692, allocations: 91.94 kB / 0.6597 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002504/0.8717, allocations: 0.7339 MB / 0.6604 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/0.8761, allocations: 1.123 MB / 0.6615 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008826/0.8849, allocations: 5.542 MB / 0.6669 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/0.8898, allocations: 315.4 kB / 0.6672 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/0.891, allocations: 280 kB / 0.6675 GB, free: 2.234 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.006641/0.8976, allocations: 2.526 MB / 0.6699 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/0.8993, allocations: 405.4 kB / 0.6703 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.9094, allocations: 4.251 MB / 0.6745 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.9094, allocations: 24 kB / 0.6745 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.9094, allocations: 4 kB / 0.6745 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/0.9094, allocations: 19.89 kB / 0.6745 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03044/0.9399, allocations: 14.01 MB / 0.6882 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/0.9399, allocations: 12 kB / 0.6882 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/0.9422, allocations: 487.2 kB / 0.6887 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/0.9448, allocations: 0.6938 MB / 0.6894 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004706/0.9452, allocations: 71.98 kB / 0.6894 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.9571, allocations: 7.284 MB / 0.6965 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00223/0.9593, allocations: 1.857 MB / 0.6984 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/0.9736, allocations: 6.762 MB / 0.705 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003483/0.977, allocations: 0.7587 MB / 0.7057 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001399/0.9784, allocations: 67.88 kB / 0.7058 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/0.9814, allocations: 159.9 kB / 0.7059 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006325/0.9821, allocations: 237.3 kB / 0.7061 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/0.9824, allocations: 91.97 kB / 0.7062 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005896/0.9883, allocations: 2.522 MB / 0.7087 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9883, allocations: 0 / 0.7087 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006346/0.9946, allocations: 1.289 MB / 0.7099 GB, free: 5.84 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.0009236/0.9955, allocations: 242.6 kB / 0.7102 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.006, allocations: 4.823 MB / 0.7149 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.006, allocations: 4.625 kB / 0.7149 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004705/1.01, allocations: 2.181 MB / 0.717 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006204/1.017, allocations: 1.005 MB / 0.718 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/1.046, allocations: 12.58 MB / 0.7303 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009015/1.055, allocations: 4.501 MB / 0.7347 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005174/1.06, allocations: 1.364 MB / 0.736 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.062, allocations: 307.4 kB / 0.7363 GB, free: 10.58 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/1.062, allocations: 0 / 0.7363 GB, free: 10.58 MB / 0.545 GB Notification: Performance of Templates: time 0.3017/1.363, allocations: 58.14 MB / 0.7931 GB, free: 154.5 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.54119086265564]