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.001908/0.001908, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002535/0.002535, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.5/1.5, allocations: 230.6 MB / 254.8 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.001534/0.001534, allocations: 51.92 kB / 374.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 53.31 MB / 427.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.269/0.3832, allocations: 31.12 MB / 458.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02231/0.4055, allocations: 8.913 MB / 467.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01015/0.4157, allocations: 226.2 kB / 467.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01418/0.4299, allocations: 5 MB / 472.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.4418, allocations: 3.062 MB / 475.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.4478, allocations: 1.625 MB / 477.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01538/0.4632, allocations: 8.819 MB / 486.3 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01744/0.4806, allocations: 9.949 MB / 496.2 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008386/0.489, allocations: 4.332 MB / 0.4888 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008873/0.4979, allocations: 4.878 MB / 0.4936 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003494/0.5014, allocations: 1.164 MB / 0.4947 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/0.5086, allocations: 1.546 MB / 0.4962 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004015/0.5127, allocations: 2.423 MB / 0.4986 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009452/0.5221, allocations: 4.68 MB / 0.5032 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0251/0.5472, allocations: 15.88 MB / 0.5187 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5472, allocations: 0 / 0.5187 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5472, allocations: 4 kB / 0.5187 GB, free: 8.758 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004585/0.5477, allocations: 0 / 0.5187 GB, free: 8.758 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.03364/0.5813, allocations: 9.967 MB / 0.5284 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.5814, allocations: 8.031 kB / 0.5284 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/0.6118, allocations: 5.23 MB / 0.5335 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.6247, allocations: 5.142 MB / 0.5385 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006964/0.6254, allocations: 0.5299 MB / 0.5391 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/0.6284, allocations: 0.7224 MB / 0.5398 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/0.6596, allocations: 11.34 MB / 0.5508 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004287/0.6601, allocations: 15.89 kB / 0.5509 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002558/0.6626, allocations: 296 kB / 0.5511 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006051/0.6632, allocations: 446.9 kB / 0.5516 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02675/0.69, allocations: 10.87 MB / 0.5622 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07511/0.7651, allocations: 38.58 MB / 0.5999 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2411/1.006, allocations: 27.99 MB / 0.6272 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004505/1.011, allocations: 2.451 MB / 0.6296 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/1.025, allocations: 8.457 MB / 0.6378 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/1.025, allocations: 57.25 kB / 0.6379 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.799e-06/1.025, allocations: 0 / 0.6379 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.02136/1.046, allocations: 10.47 MB / 0.6481 GB, free: 135 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001773/1.048, allocations: 2.011 MB / 0.6501 GB, free: 133.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006628/1.055, allocations: 3.846 MB / 0.6538 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/1.055, allocations: 63.08 kB / 0.6539 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.058, allocations: 3.687 MB / 0.6575 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009621/1.059, allocations: 0.8633 MB / 0.6583 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00144/1.06, allocations: 0.9734 MB / 0.6593 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.52e-05/1.06, allocations: 301.1 kB / 0.6596 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/1.063, allocations: 1.896 MB / 0.6614 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/1.066, allocations: 4.396 MB / 0.6657 GB, free: 123 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006359/1.072, allocations: 6.799 MB / 0.6724 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.051e-05/1.072, allocations: 24.62 kB / 0.6724 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01114/1.084, allocations: 6.994 MB / 0.6792 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/1.084, allocations: 45.17 kB / 0.6793 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.084, allocations: 90.94 kB / 0.6794 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/1.086, allocations: 0.7422 MB / 0.6801 GB, free: 114.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/1.089, allocations: 1.12 MB / 0.6812 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006183/1.095, allocations: 5.636 MB / 0.6867 GB, free: 111 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/1.1, allocations: 311.5 kB / 0.687 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/1.1, allocations: 279.8 kB / 0.6872 GB, free: 110.5 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.003948/1.104, allocations: 2.523 MB / 0.6897 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009964/1.105, allocations: 406.2 kB / 0.6901 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/1.112, allocations: 4.253 MB / 0.6942 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.112, allocations: 24 kB / 0.6943 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.112, allocations: 11.12 kB / 0.6943 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/1.112, allocations: 15.95 kB / 0.6943 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/1.132, allocations: 14.31 MB / 0.7083 GB, free: 89.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.132, allocations: 13 kB / 0.7083 GB, free: 89.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.134, allocations: 487.2 kB / 0.7087 GB, free: 88.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/1.136, allocations: 0.6857 MB / 0.7094 GB, free: 88.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/1.136, allocations: 79.91 kB / 0.7095 GB, free: 87.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007403/1.144, allocations: 7.505 MB / 0.7168 GB, free: 80.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001344/1.145, allocations: 1.958 MB / 0.7187 GB, free: 78.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008988/1.154, allocations: 6.754 MB / 0.7253 GB, free: 71.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.156, allocations: 0.8185 MB / 0.7261 GB, free: 70.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008196/1.157, allocations: 60 kB / 0.7262 GB, free: 70.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.159, allocations: 163.9 kB / 0.7263 GB, free: 70.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/1.159, allocations: 229.3 kB / 0.7266 GB, free: 69.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.159, allocations: 87.97 kB / 0.7266 GB, free: 69.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0034/1.163, allocations: 2.526 MB / 0.7291 GB, free: 67.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.163, allocations: 4 kB / 0.7291 GB, free: 67.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005601/1.168, allocations: 1.293 MB / 0.7304 GB, free: 65.86 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.0005888/1.169, allocations: 236.2 kB / 0.7306 GB, free: 65.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007289/1.176, allocations: 4.969 MB / 0.7355 GB, free: 60.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.176, allocations: 4 kB / 0.7355 GB, free: 60.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/1.18, allocations: 2.268 MB / 0.7377 GB, free: 58.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.185, allocations: 1.001 MB / 0.7386 GB, free: 57.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.204, allocations: 12.39 MB / 0.7507 GB, free: 44.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/1.208, allocations: 4.39 MB / 0.755 GB, free: 40.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.209, allocations: 347.4 kB / 0.7554 GB, free: 39.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.854e-06/1.209, allocations: 0 / 0.7554 GB, free: 39.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.4198/1.629, allocations: 203.3 MB / 0.9539 GB, free: 73.18 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: 18.634944853023626]