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.001124/0.001124, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001035/0.001035, allocations: 147.2 kB / 24.89 MB, free: 8.742 MB / 18.57 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 0.9157/0.9157, allocations: 173.4 MB / 201.5 MB, free: 8.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.302e-06/1.302e-06, allocations: 0 / 268.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.514e-05, allocations: 2.312 kB / 268.5 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1415/0.1416, allocations: 28.73 MB / 297.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.1574, allocations: 8.938 MB / 306.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.1605, allocations: 219.6 kB / 306.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005518/0.166, allocations: 5.176 MB / 311.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.1716, allocations: 3.113 MB / 314.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.1738, allocations: 1.601 MB / 316.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005825/0.1796, allocations: 9.094 MB / 325.4 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008159/0.1878, allocations: 9.375 MB / 334.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005693/0.1934, allocations: 6.43 MB / 341.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.197, allocations: 4.58 MB / 345.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.198, allocations: 1.156 MB / 347 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.1996, allocations: 1.527 MB / 348.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.2008, allocations: 2.497 MB / 351 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.2032, allocations: 3.173 MB / 354.2 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006104/0.2093, allocations: 7.743 MB / 361.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2093, allocations: 4 kB / 361.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2093, allocations: 0 / 361.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.643e-05/0.2094, allocations: 3.938 kB / 361.9 MB, free: 12.23 MB / 314.7 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.01103/0.2204, allocations: 9.332 MB / 371.2 MB, free: 2.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2204, allocations: 8.922 kB / 371.2 MB, free: 2.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.2354, allocations: 5.268 MB / 376.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.2393, allocations: 2.764 MB / 379.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.2395, allocations: 0.5376 MB / 379.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007334/0.2403, allocations: 0.7108 MB / 380.5 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/0.2466, allocations: 5.932 MB / 386.5 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.2467, allocations: 15.92 kB / 386.5 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004778/0.2472, allocations: 296 kB / 386.8 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002663/0.2475, allocations: 451 kB / 387.2 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004304/0.2518, allocations: 3.002 MB / 390.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02349/0.2753, allocations: 23.18 MB / 413.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005161/0.2804, allocations: 4.37 MB / 417.8 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.2819, allocations: 0.9486 MB / 418.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006697/0.2886, allocations: 3.684 MB / 422.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.2886, allocations: 56.56 kB / 422.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 6.162e-06/0.2886, allocations: 0 / 422.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.008075/0.2967, allocations: 4.699 MB / 427.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001008/0.2977, allocations: 1.6 MB / 428.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.3003, allocations: 2.615 MB / 431.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.3005, allocations: 61.7 kB / 431.4 MB, free: 5.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.3019, allocations: 3.327 MB / 434.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.3025, allocations: 0.86 MB / 435.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008846/0.3034, allocations: 0.9102 MB / 436.5 MB, free: 136 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1313/0.4347, allocations: 309.6 kB / 436.8 MB, free: 93.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.4367, allocations: 0.6718 MB / 437.5 MB, free: 93.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.4392, allocations: 3.134 MB / 440.6 MB, free: 90.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/0.4435, allocations: 4.104 MB / 444.7 MB, free: 87.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/0.4436, allocations: 24.84 kB / 444.7 MB, free: 87.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005998/0.4496, allocations: 3.475 MB / 448.2 MB, free: 87.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.4497, allocations: 43.34 kB / 448.3 MB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.923e-05/0.4498, allocations: 84.5 kB / 448.3 MB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.4511, allocations: 0.6428 MB / 449 MB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.453, allocations: 1.093 MB / 450.1 MB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.4555, allocations: 2.888 MB / 453 MB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.4578, allocations: 244.8 kB / 453.2 MB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/0.4582, allocations: 223.9 kB / 453.4 MB, free: 86.11 MB / 378.7 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.001615/0.4598, allocations: 481 kB / 453.9 MB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006543/0.4604, allocations: 292.2 kB / 454.2 MB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.4629, allocations: 1.88 MB / 456.1 MB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4629, allocations: 23.44 kB / 456.1 MB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4629, allocations: 3.969 kB / 456.1 MB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.4629, allocations: 15.41 kB / 456.1 MB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009691/0.4726, allocations: 7.803 MB / 463.9 MB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4726, allocations: 11.59 kB / 463.9 MB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008788/0.4735, allocations: 422.3 kB / 464.3 MB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.475, allocations: 0.7697 MB / 465.1 MB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.4751, allocations: 65.47 kB / 465.2 MB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/0.4781, allocations: 4.219 MB / 469.4 MB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006011/0.4787, allocations: 1.545 MB / 470.9 MB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/0.482, allocations: 2.677 MB / 473.6 MB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.4833, allocations: 439 kB / 474 MB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.4836, allocations: 62.75 kB / 474.1 MB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.4844, allocations: 92.33 kB / 474.2 MB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.4847, allocations: 226.3 kB / 474.4 MB, free: 80 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.4848, allocations: 73.19 kB / 474.5 MB, free: 79.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.486, allocations: 1.19 MB / 475.7 MB, free: 79.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.486, allocations: 0 / 475.7 MB, free: 79.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003263/0.4893, allocations: 1.285 MB / 477 MB, free: 78.27 MB / 378.7 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.0003462/0.4896, allocations: 218.3 kB / 477.2 MB, free: 78.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.4927, allocations: 2.539 MB / 479.7 MB, free: 76.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001138/0.4929, allocations: 69.75 kB / 479.8 MB, free: 76.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.4942, allocations: 1.27 MB / 481 MB, free: 75.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.4968, allocations: 0.876 MB / 481.9 MB, free: 74.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.5097, allocations: 10.53 MB / 492.4 MB, free: 64.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.511, allocations: 1.34 MB / 493.8 MB, free: 63.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00167/0.5126, allocations: 0.6006 MB / 494.4 MB, free: 62.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.5139, allocations: 0.8388 MB / 495.2 MB, free: 61.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5139, allocations: 0 / 495.2 MB, free: 61.66 MB / 378.7 MB Notification: Performance of Templates: time 0.06353/0.5774, allocations: 52.43 MB / 0.5348 GB, free: 10.14 MB / 378.7 MB " [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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.021018431987613]