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.001366/0.001366, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001381/0.001381, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.547/1.547, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001597/0.001597, allocations: 55.94 kB / 373.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 53.33 MB / 426.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2341/0.3486, allocations: 31.1 MB / 457.9 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02317/0.3718, allocations: 8.921 MB / 466.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007991/0.3798, allocations: 223.2 kB / 467.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01488/0.3946, allocations: 4.998 MB / 472.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.4064, allocations: 3.059 MB / 475.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.4121, allocations: 1.629 MB / 476.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01553/0.4276, allocations: 8.817 MB / 485.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01814/0.4457, allocations: 9.953 MB / 495.5 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.4559, allocations: 4.32 MB / 499.8 MB, free: 7.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01044/0.4664, allocations: 4.882 MB / 0.4929 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004903/0.4713, allocations: 1.164 MB / 0.494 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006505/0.4778, allocations: 1.55 MB / 0.4956 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004372/0.4821, allocations: 2.419 MB / 0.4979 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008803/0.4909, allocations: 4.68 MB / 0.5025 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0234/0.5143, allocations: 15.88 MB / 0.518 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.5143, allocations: 7.922 kB / 0.518 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5143, allocations: 0 / 0.518 GB, free: 8.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004784/0.5148, allocations: 4 kB / 0.518 GB, free: 8.75 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.0331/0.5479, allocations: 9.964 MB / 0.5277 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.548, allocations: 16.03 kB / 0.5277 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03287/0.5808, allocations: 5.216 MB / 0.5328 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.5945, allocations: 5.154 MB / 0.5379 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/0.5952, allocations: 0.5299 MB / 0.5384 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00347/0.5987, allocations: 0.708 MB / 0.5391 GB, free: 2.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/0.6307, allocations: 11.35 MB / 0.5502 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004249/0.6311, allocations: 15.94 kB / 0.5502 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002772/0.6339, allocations: 300 kB / 0.5505 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006084/0.6345, allocations: 443 kB / 0.5509 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.6608, allocations: 10.87 MB / 0.5615 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08291/0.7437, allocations: 38.6 MB / 0.5992 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.235/0.9788, allocations: 27.99 MB / 0.6265 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/0.9833, allocations: 2.448 MB / 0.6289 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/0.9967, allocations: 8.455 MB / 0.6372 GB, free: 141 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.9968, allocations: 65.22 kB / 0.6372 GB, free: 141 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.498e-06/0.9968, allocations: 0 / 0.6372 GB, free: 141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.022/1.019, allocations: 10.47 MB / 0.6475 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001883/1.021, allocations: 2.011 MB / 0.6494 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005951/1.027, allocations: 3.842 MB / 0.6532 GB, free: 133.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004297/1.027, allocations: 66.8 kB / 0.6532 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.029, allocations: 3.679 MB / 0.6568 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007934/1.03, allocations: 0.8639 MB / 0.6577 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.031, allocations: 0.9691 MB / 0.6586 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/1.031, allocations: 302.3 kB / 0.6589 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/1.034, allocations: 1.898 MB / 0.6608 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/1.037, allocations: 4.394 MB / 0.6651 GB, free: 124.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006258/1.043, allocations: 6.801 MB / 0.6717 GB, free: 118.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.894e-05/1.043, allocations: 23.25 kB / 0.6717 GB, free: 118.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01017/1.054, allocations: 6.995 MB / 0.6786 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/1.054, allocations: 42.16 kB / 0.6786 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.281e-05/1.054, allocations: 87.81 kB / 0.6787 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.056, allocations: 0.7402 MB / 0.6794 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/1.059, allocations: 1.124 MB / 0.6805 GB, free: 115.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/1.066, allocations: 5.639 MB / 0.686 GB, free: 112.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/1.07, allocations: 321.5 kB / 0.6863 GB, free: 111.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/1.07, allocations: 279.5 kB / 0.6866 GB, free: 111.6 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.003462/1.074, allocations: 2.528 MB / 0.689 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008332/1.075, allocations: 410.7 kB / 0.6894 GB, free: 109 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006807/1.081, allocations: 4.25 MB / 0.6936 GB, free: 105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.081, allocations: 24 kB / 0.6936 GB, free: 105 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.081, allocations: 8 kB / 0.6936 GB, free: 105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/1.081, allocations: 11.95 kB / 0.6936 GB, free: 105 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/1.103, allocations: 14.31 MB / 0.7076 GB, free: 90.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.104, allocations: 12 kB / 0.7076 GB, free: 90.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.105, allocations: 487.2 kB / 0.7081 GB, free: 90 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/1.108, allocations: 0.6942 MB / 0.7088 GB, free: 89.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/1.108, allocations: 75.97 kB / 0.7088 GB, free: 89.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00795/1.116, allocations: 7.496 MB / 0.7161 GB, free: 81.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001407/1.117, allocations: 1.953 MB / 0.7181 GB, free: 79.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009412/1.127, allocations: 6.754 MB / 0.7247 GB, free: 72.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/1.129, allocations: 0.826 MB / 0.7255 GB, free: 71.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/1.131, allocations: 60 kB / 0.7255 GB, free: 71.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.133, allocations: 167.9 kB / 0.7257 GB, free: 71.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/1.134, allocations: 229.3 kB / 0.7259 GB, free: 71.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.134, allocations: 87.98 kB / 0.726 GB, free: 70.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003835/1.138, allocations: 2.526 MB / 0.7284 GB, free: 68.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.138, allocations: 0 / 0.7284 GB, free: 68.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005087/1.143, allocations: 1.293 MB / 0.7297 GB, free: 67.11 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.0005199/1.143, allocations: 231.1 kB / 0.7299 GB, free: 66.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007052/1.15, allocations: 4.976 MB / 0.7348 GB, free: 61.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.15, allocations: 8.062 kB / 0.7348 GB, free: 61.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003304/1.154, allocations: 2.264 MB / 0.737 GB, free: 59.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.159, allocations: 0.9997 MB / 0.738 GB, free: 58.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.177, allocations: 12.5 MB / 0.7502 GB, free: 45.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004728/1.182, allocations: 4.505 MB / 0.7546 GB, free: 41.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003813/1.186, allocations: 1.364 MB / 0.7559 GB, free: 39.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.187, allocations: 311.4 kB / 0.7562 GB, free: 39.67 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/1.187, allocations: 0 / 0.7562 GB, free: 39.67 MB / 0.5137 GB Notification: Performance of Templates: time 0.09297/1.28, allocations: 54.75 MB / 0.8097 GB, free: 1.453 MB / 0.5294 GB " [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=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/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_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: 7.455930862575769]