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.001352/0.001352, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001513/0.001513, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.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.001977/0.001977, allocations: 68.12 kB / 373.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 53.32 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2682/0.3847, allocations: 31.11 MB / 458.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02521/0.4099, allocations: 8.916 MB / 467.2 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01247/0.4224, allocations: 190.3 kB / 467.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01564/0.438, allocations: 5.002 MB / 472.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.4505, allocations: 3.059 MB / 475.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006073/0.4566, allocations: 1.626 MB / 477.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01692/0.4735, allocations: 8.816 MB / 485.9 MB, free: 5.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02528/0.4988, allocations: 9.95 MB / 495.8 MB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009976/0.5087, allocations: 4.254 MB / 0.4884 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.519, allocations: 4.886 MB / 0.4931 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004336/0.5233, allocations: 1.164 MB / 0.4943 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006661/0.53, allocations: 1.546 MB / 0.4958 GB, free: 284 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005057/0.535, allocations: 2.415 MB / 0.4981 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0133/0.5483, allocations: 4.68 MB / 0.5027 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02631/0.5746, allocations: 15.89 MB / 0.5182 GB, free: 9.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5746, allocations: 0 / 0.5182 GB, free: 9.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5746, allocations: 4 kB / 0.5182 GB, free: 9.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005282/0.5752, allocations: 0 / 0.5182 GB, free: 9.219 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.03242/0.6076, allocations: 9.971 MB / 0.528 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6076, allocations: 8.031 kB / 0.528 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03107/0.6387, allocations: 5.232 MB / 0.5331 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.6521, allocations: 5.146 MB / 0.5381 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006485/0.6528, allocations: 0.5299 MB / 0.5386 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002953/0.6557, allocations: 0.7069 MB / 0.5393 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/0.6871, allocations: 11.35 MB / 0.5504 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003657/0.6875, allocations: 15.95 kB / 0.5504 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002042/0.6896, allocations: 300 kB / 0.5507 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005659/0.6901, allocations: 444 kB / 0.5511 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02587/0.716, allocations: 10.87 MB / 0.5617 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07678/0.7928, allocations: 38.57 MB / 0.5994 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2671/1.06, allocations: 28 MB / 0.6268 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004668/1.065, allocations: 2.448 MB / 0.6292 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/1.079, allocations: 8.457 MB / 0.6374 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/1.079, allocations: 57.03 kB / 0.6375 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.819e-06/1.079, allocations: 0 / 0.6375 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.02116/1.1, allocations: 10.47 MB / 0.6477 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001669/1.102, allocations: 2.01 MB / 0.6497 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006285/1.108, allocations: 3.84 MB / 0.6534 GB, free: 132.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003742/1.108, allocations: 72.2 kB / 0.6535 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.111, allocations: 3.683 MB / 0.6571 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008316/1.111, allocations: 0.8666 MB / 0.6579 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/1.113, allocations: 0.9658 MB / 0.6589 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/1.113, allocations: 304.9 kB / 0.6591 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.115, allocations: 1.894 MB / 0.661 GB, free: 127.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/1.119, allocations: 4.397 MB / 0.6653 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006655/1.125, allocations: 6.798 MB / 0.6719 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.315e-05/1.126, allocations: 29.66 kB / 0.672 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01025/1.136, allocations: 6.996 MB / 0.6788 GB, free: 115.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/1.136, allocations: 40.16 kB / 0.6788 GB, free: 115.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.714e-05/1.136, allocations: 88.84 kB / 0.6789 GB, free: 115.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/1.138, allocations: 0.734 MB / 0.6796 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003288/1.141, allocations: 1.132 MB / 0.6807 GB, free: 115 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/1.147, allocations: 5.637 MB / 0.6862 GB, free: 111.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/1.151, allocations: 316.6 kB / 0.6865 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/1.152, allocations: 281.4 kB / 0.6868 GB, free: 111.1 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.003632/1.155, allocations: 2.523 MB / 0.6893 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.156, allocations: 409.3 kB / 0.6897 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006431/1.163, allocations: 4.248 MB / 0.6938 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/1.163, allocations: 28 kB / 0.6938 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.163, allocations: 4 kB / 0.6938 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.163, allocations: 15.95 kB / 0.6939 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/1.184, allocations: 14.31 MB / 0.7078 GB, free: 89.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.184, allocations: 12 kB / 0.7078 GB, free: 89.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.185, allocations: 480.1 kB / 0.7083 GB, free: 89.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/1.187, allocations: 0.6935 MB / 0.709 GB, free: 88.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.188, allocations: 78.47 kB / 0.7091 GB, free: 88.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007254/1.195, allocations: 7.506 MB / 0.7164 GB, free: 80.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001305/1.196, allocations: 1.947 MB / 0.7183 GB, free: 78.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/1.205, allocations: 6.757 MB / 0.7249 GB, free: 71.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.206, allocations: 0.8184 MB / 0.7257 GB, free: 70.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/1.207, allocations: 63.98 kB / 0.7257 GB, free: 70.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.209, allocations: 165.4 kB / 0.7259 GB, free: 70.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/1.21, allocations: 225.4 kB / 0.7261 GB, free: 70.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.21, allocations: 91.97 kB / 0.7262 GB, free: 70.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003224/1.213, allocations: 2.522 MB / 0.7287 GB, free: 67.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.213, allocations: 3.75 kB / 0.7287 GB, free: 67.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005032/1.218, allocations: 1.297 MB / 0.7299 GB, free: 66.5 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.0005232/1.218, allocations: 231.5 kB / 0.7302 GB, free: 66.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006656/1.225, allocations: 4.973 MB / 0.735 GB, free: 61.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.225, allocations: 4 kB / 0.735 GB, free: 61.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003033/1.228, allocations: 2.268 MB / 0.7372 GB, free: 58.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/1.233, allocations: 0.9963 MB / 0.7382 GB, free: 58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.25, allocations: 12.5 MB / 0.7504 GB, free: 45.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003538/1.254, allocations: 4.501 MB / 0.7548 GB, free: 40.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003427/1.257, allocations: 1.368 MB / 0.7562 GB, free: 39.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/1.258, allocations: 311.4 kB / 0.7565 GB, free: 39.07 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/1.258, allocations: 0 / 0.7565 GB, free: 39.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.09095/1.349, allocations: 54.74 MB / 0.8099 GB, free: 0.8086 MB / 0.5294 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.352432146668434]