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.001732/0.001732, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001866/0.001866, allocations: 215 kB / 24.48 MB, free: 3.934 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.635/1.635, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.002053/0.002053, allocations: 55.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2865, allocations: 49.16 MB / 396.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0316/0.318, allocations: 25.98 MB / 422.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.3406, allocations: 8.346 MB / 431.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007433/0.3481, allocations: 198.3 kB / 431.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01361/0.3617, allocations: 4.623 MB / 436 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.3741, allocations: 3.004 MB / 439 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005975/0.3801, allocations: 1.591 MB / 440.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01496/0.3951, allocations: 8.764 MB / 449.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01843/0.4135, allocations: 9.056 MB / 458.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008254/0.4218, allocations: 4.343 MB / 462.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009506/0.4313, allocations: 4.526 MB / 467.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004033/0.4353, allocations: 1.16 MB / 468.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006186/0.4415, allocations: 1.503 MB / 470 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004858/0.4463, allocations: 2.412 MB / 472.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01047/0.4568, allocations: 3.657 MB / 476 MB, free: 3.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0277/0.4845, allocations: 15.82 MB / 491.9 MB, free: 3.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4845, allocations: 0 / 491.9 MB, free: 3.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4845, allocations: 0 / 491.9 MB, free: 3.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000528/0.4851, allocations: 7.938 kB / 491.9 MB, free: 3.875 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.03426/0.5193, allocations: 9.841 MB / 0.4899 GB, free: 9.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.5194, allocations: 12.03 kB / 0.49 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/0.5499, allocations: 5.313 MB / 0.4951 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.5632, allocations: 4.669 MB / 0.4997 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007096/0.564, allocations: 0.526 MB / 0.5002 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003257/0.5672, allocations: 0.7107 MB / 0.5009 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0336/0.6008, allocations: 11.54 MB / 0.5122 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004396/0.6013, allocations: 23.83 kB / 0.5122 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002819/0.6041, allocations: 303.9 kB / 0.5125 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005741/0.6046, allocations: 443 kB / 0.5129 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02713/0.6318, allocations: 10.77 MB / 0.5234 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07514/0.7069, allocations: 32.53 MB / 0.5552 GB, free: 5.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2626/0.9695, allocations: 7.37 MB / 0.5624 GB, free: 137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005639/0.9751, allocations: 2.416 MB / 0.5648 GB, free: 137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/0.9913, allocations: 6.803 MB / 0.5714 GB, free: 134.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.9914, allocations: 60.77 kB / 0.5715 GB, free: 134.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 4.95e-06/0.9914, allocations: 3.938 kB / 0.5715 GB, free: 134.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=233): time 0.02138/1.013, allocations: 10.26 MB / 0.5815 GB, free: 130.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001787/1.015, allocations: 1.868 MB / 0.5833 GB, free: 128.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/1.02, allocations: 3.619 MB / 0.5868 GB, free: 127.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/1.021, allocations: 65.48 kB / 0.5869 GB, free: 127.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/1.023, allocations: 3.694 MB / 0.5905 GB, free: 124.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009624/1.024, allocations: 0.8668 MB / 0.5914 GB, free: 123.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/1.025, allocations: 0.9622 MB / 0.5923 GB, free: 123.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/1.025, allocations: 301.1 kB / 0.5926 GB, free: 123.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/1.028, allocations: 1.896 MB / 0.5944 GB, free: 122.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/1.031, allocations: 4.445 MB / 0.5988 GB, free: 118.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006264/1.037, allocations: 6.785 MB / 0.6054 GB, free: 112.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.09e-05/1.037, allocations: 23.53 kB / 0.6054 GB, free: 112.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01106/1.048, allocations: 6.955 MB / 0.6122 GB, free: 107.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/1.048, allocations: 40 kB / 0.6123 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/1.048, allocations: 88 kB / 0.6123 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/1.05, allocations: 0.7373 MB / 0.6131 GB, free: 106.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.054, allocations: 1.118 MB / 0.6142 GB, free: 105.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/1.06, allocations: 5.416 MB / 0.6194 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004879/1.065, allocations: 315.4 kB / 0.6197 GB, free: 99.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009158/1.065, allocations: 276 kB / 0.62 GB, free: 99.57 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.004713/1.07, allocations: 2.526 MB / 0.6225 GB, free: 97.03 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.071, allocations: 374 kB / 0.6228 GB, free: 96.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006156/1.077, allocations: 4.229 MB / 0.627 GB, free: 92.42 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.077, allocations: 24 kB / 0.627 GB, free: 92.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/1.077, allocations: 4 kB / 0.627 GB, free: 92.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/1.077, allocations: 11.95 kB / 0.627 GB, free: 92.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/1.098, allocations: 12.62 MB / 0.6393 GB, free: 79.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.098, allocations: 12 kB / 0.6393 GB, free: 79.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/1.1, allocations: 487 kB / 0.6398 GB, free: 79.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/1.102, allocations: 0.6937 MB / 0.6405 GB, free: 78.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.102, allocations: 67.98 kB / 0.6405 GB, free: 78.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007321/1.11, allocations: 7.114 MB / 0.6475 GB, free: 71.01 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001307/1.111, allocations: 1.815 MB / 0.6493 GB, free: 69.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009081/1.12, allocations: 6.706 MB / 0.6558 GB, free: 62.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/1.122, allocations: 0.7121 MB / 0.6565 GB, free: 61.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007701/1.123, allocations: 59.98 kB / 0.6566 GB, free: 61.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.125, allocations: 175.8 kB / 0.6567 GB, free: 61.15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003883/1.125, allocations: 225.4 kB / 0.6569 GB, free: 60.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.126, allocations: 91.97 kB / 0.657 GB, free: 60.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003227/1.129, allocations: 2.263 MB / 0.6592 GB, free: 58.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.129, allocations: 0 / 0.6592 GB, free: 58.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006896/1.136, allocations: 1.281 MB / 0.6605 GB, free: 57.31 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.0009425/1.137, allocations: 234.7 kB / 0.6607 GB, free: 57.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008488/1.145, allocations: 4.818 MB / 0.6654 GB, free: 52.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.748e-05/1.145, allocations: 5.625 kB / 0.6654 GB, free: 52.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003677/1.149, allocations: 2.192 MB / 0.6676 GB, free: 50.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.154, allocations: 0.859 MB / 0.6684 GB, free: 49.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.174, allocations: 12.53 MB / 0.6807 GB, free: 36.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/1.178, allocations: 4.011 MB / 0.6846 GB, free: 32.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003591/1.181, allocations: 1.33 MB / 0.6859 GB, free: 31.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/1.182, allocations: 287.4 kB / 0.6861 GB, free: 30.76 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/1.182, allocations: 0 / 0.6861 GB, free: 30.76 MB / 478.1 MB Notification: Performance of Templates: time 0.09721/1.279, allocations: 55.5 MB / 0.7403 GB, free: 7.223 MB / 0.4981 GB " [Timeout remaining time 659] 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/jenkins/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/jenkins/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: 7.605887314304709]