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.001369/0.001369, allocations: 107.5 kB / 20.44 MB, free: 1.203 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.001414/0.001414, allocations: 184 kB / 23.7 MB, free: 4.434 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.441/1.441, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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.001599/0.001599, allocations: 51.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.241, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03251/0.2735, allocations: 26.09 MB / 449.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.2918, allocations: 8.327 MB / 457.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005108/0.2969, allocations: 218.9 kB / 457.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.31, allocations: 4.63 MB / 462.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.3203, allocations: 3.05 MB / 465.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00485/0.3251, allocations: 1.573 MB / 467 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01221/0.3374, allocations: 8.765 MB / 475.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/0.3532, allocations: 9.075 MB / 484.8 MB, free: 452 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007302/0.3605, allocations: 4.355 MB / 489.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008176/0.3687, allocations: 4.522 MB / 493.7 MB, free: 7.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002717/0.3714, allocations: 1.16 MB / 494.9 MB, free: 6.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.3762, allocations: 1.5 MB / 496.4 MB, free: 4.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003626/0.3798, allocations: 2.412 MB / 498.8 MB, free: 2.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007237/0.3871, allocations: 3.661 MB / 0.4906 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01981/0.4069, allocations: 15.9 MB / 0.5062 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.4069, allocations: 4 kB / 0.5062 GB, free: 14.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4069, allocations: 0 / 0.5062 GB, free: 14.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003899/0.4073, allocations: 0 / 0.5062 GB, free: 14.83 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.02962/0.4369, allocations: 9.83 MB / 0.5158 GB, free: 4.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4369, allocations: 12.03 kB / 0.5158 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03005/0.467, allocations: 5.31 MB / 0.521 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/0.48, allocations: 5.089 MB / 0.5259 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005705/0.4806, allocations: 0.5338 MB / 0.5265 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/0.4831, allocations: 0.7069 MB / 0.5272 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2157/0.6988, allocations: 11.55 MB / 0.5384 GB, free: 96.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002345/0.699, allocations: 19.17 kB / 0.5384 GB, free: 96.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007819/0.6998, allocations: 295.8 kB / 0.5387 GB, free: 96.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003881/0.7002, allocations: 447.2 kB / 0.5392 GB, free: 96.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.7166, allocations: 10.79 MB / 0.5497 GB, free: 92.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04163/0.7583, allocations: 32.53 MB / 0.5815 GB, free: 63.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.7688, allocations: 7.385 MB / 0.5887 GB, free: 57.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/0.7722, allocations: 2.417 MB / 0.591 GB, free: 54.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.7829, allocations: 6.799 MB / 0.5977 GB, free: 48.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.7829, allocations: 56.56 kB / 0.5977 GB, free: 48.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.29e-06/0.7829, allocations: 0 / 0.5977 GB, free: 48.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01563/0.7985, allocations: 10.25 MB / 0.6077 GB, free: 38.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001345/0.7999, allocations: 1.863 MB / 0.6096 GB, free: 36.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.8035, allocations: 3.619 MB / 0.6131 GB, free: 32.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.8037, allocations: 65.7 kB / 0.6132 GB, free: 32.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.8049, allocations: 3.696 MB / 0.6168 GB, free: 28.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.8053, allocations: 0.8682 MB / 0.6176 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009585/0.8063, allocations: 0.9575 MB / 0.6185 GB, free: 27.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.8063, allocations: 301.1 kB / 0.6188 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.8084, allocations: 1.895 MB / 0.6207 GB, free: 24.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.8112, allocations: 4.446 MB / 0.625 GB, free: 19.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005195/0.8164, allocations: 6.783 MB / 0.6316 GB, free: 11.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.301e-05/0.8164, allocations: 24 kB / 0.6317 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009011/0.8254, allocations: 6.958 MB / 0.6385 GB, free: 4.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.8255, allocations: 43.98 kB / 0.6385 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/0.8256, allocations: 92 kB / 0.6386 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.8272, allocations: 0.7361 MB / 0.6393 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.8302, allocations: 1.127 MB / 0.6404 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006844/0.837, allocations: 5.404 MB / 0.6457 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/0.8405, allocations: 323.4 kB / 0.646 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/0.8409, allocations: 275.9 kB / 0.6463 GB, free: 12.14 MB / 462.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.004294/0.8452, allocations: 2.514 MB / 0.6487 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008699/0.8461, allocations: 385.6 kB / 0.6491 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007684/0.8538, allocations: 4.217 MB / 0.6532 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.8538, allocations: 27.94 kB / 0.6532 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.8538, allocations: 12 kB / 0.6532 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/0.8538, allocations: 11.95 kB / 0.6533 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/0.8763, allocations: 12.62 MB / 0.6656 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.8763, allocations: 12 kB / 0.6656 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/0.8782, allocations: 475.3 kB / 0.666 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0021/0.8803, allocations: 0.7051 MB / 0.6667 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.8805, allocations: 67.98 kB / 0.6668 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009843/0.8903, allocations: 7.121 MB / 0.6738 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001878/0.8922, allocations: 1.814 MB / 0.6755 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.9032, allocations: 6.706 MB / 0.6821 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/0.9055, allocations: 0.716 MB / 0.6828 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005864/0.9061, allocations: 63.98 kB / 0.6828 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/0.908, allocations: 167.9 kB / 0.683 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/0.9084, allocations: 233.2 kB / 0.6832 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/0.9086, allocations: 91.97 kB / 0.6833 GB, free: 5.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003691/0.9123, allocations: 2.256 MB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9123, allocations: 0 / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004909/0.9172, allocations: 1.281 MB / 0.6868 GB, free: 1.852 MB / 494.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.0005542/0.9178, allocations: 261.4 kB / 0.687 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008317/0.9261, allocations: 4.803 MB / 0.6917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/0.9261, allocations: 5.625 kB / 0.6917 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003811/0.9299, allocations: 2.177 MB / 0.6938 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/0.9341, allocations: 0.8572 MB / 0.6947 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/0.9558, allocations: 12.53 MB / 0.7069 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005525/0.9614, allocations: 4.007 MB / 0.7108 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004028/0.9654, allocations: 1.326 MB / 0.7121 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000913/0.9663, allocations: 287.4 kB / 0.7124 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.9663, allocations: 0 / 0.7124 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of Templates: time 0.2829/1.249, allocations: 55.49 MB / 0.7666 GB, free: 161.8 MB / 0.5294 GB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.9835377763956785]