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.0017/0.0017, allocations: 80.8 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.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.004798/0.004798, allocations: 170.4 kB / 24.91 MB, free: 8.688 MB / 18.57 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 0.9738/0.9738, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714e-06/1.714e-06, allocations: 0 / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.199e-05, allocations: 2.312 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1279/0.128, allocations: 29.33 MB / 302.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01716/0.1451, allocations: 9.187 MB / 312 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005552/0.1507, allocations: 225.9 kB / 312.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007642/0.1583, allocations: 5.183 MB / 317.4 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007536/0.1658, allocations: 3.122 MB / 320.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.1693, allocations: 1.617 MB / 322.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.1793, allocations: 9.203 MB / 331.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.1921, allocations: 9.379 MB / 340.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.2024, allocations: 6.442 MB / 347.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00722/0.2096, allocations: 4.604 MB / 351.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002909/0.2125, allocations: 1.156 MB / 353 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.2167, allocations: 1.554 MB / 354.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003093/0.2198, allocations: 2.493 MB / 357 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006099/0.2259, allocations: 3.173 MB / 360.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.2368, allocations: 7.774 MB / 368 MB, free: 3.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2368, allocations: 0 / 368 MB, free: 3.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2368, allocations: 4 kB / 368 MB, free: 3.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003258/0.2372, allocations: 0 / 368 MB, free: 3.664 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.01626/0.2534, allocations: 9.386 MB / 377.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2535, allocations: 12.03 kB / 377.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.2689, allocations: 5.202 MB / 382.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005626/0.2745, allocations: 2.792 MB / 385.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.2749, allocations: 0.5299 MB / 385.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.2765, allocations: 0.7147 MB / 386.6 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.2886, allocations: 5.96 MB / 392.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.2888, allocations: 19.88 kB / 392.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009662/0.2897, allocations: 296 kB / 392.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/0.29, allocations: 446.9 kB / 393.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008046/0.2981, allocations: 3.021 MB / 396.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03648/0.3346, allocations: 23.29 MB / 419.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005953/0.3405, allocations: 4.373 MB / 424 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.3421, allocations: 0.9487 MB / 424.9 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006937/0.349, allocations: 3.775 MB / 428.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.3491, allocations: 60.56 kB / 428.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.619e-06/0.3491, allocations: 0 / 428.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.008817/0.3579, allocations: 4.718 MB / 433.5 MB, free: 0.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1233/0.4812, allocations: 1.604 MB / 435.1 MB, free: 88.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/0.4851, allocations: 2.621 MB / 437.7 MB, free: 88.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/0.4855, allocations: 65.61 kB / 437.8 MB, free: 88.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.487, allocations: 3.338 MB / 441.1 MB, free: 87.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/0.4877, allocations: 0.855 MB / 442 MB, free: 86.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.4889, allocations: 0.9075 MB / 442.9 MB, free: 86.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.903e-05/0.4889, allocations: 303.7 kB / 443.2 MB, free: 86.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4903, allocations: 0.6809 MB / 443.9 MB, free: 86.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.4925, allocations: 3.135 MB / 447 MB, free: 83.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.4959, allocations: 4.121 MB / 451.1 MB, free: 80.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/0.496, allocations: 25.75 kB / 451.1 MB, free: 80.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.004857/0.5009, allocations: 3.479 MB / 454.6 MB, free: 79.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.5009, allocations: 44.03 kB / 454.7 MB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.389e-05/0.501, allocations: 86.75 kB / 454.7 MB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.5023, allocations: 0.6459 MB / 455.4 MB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.5045, allocations: 1.086 MB / 456.5 MB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.5072, allocations: 2.895 MB / 459.4 MB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.5099, allocations: 241.4 kB / 459.6 MB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/0.5105, allocations: 233.6 kB / 459.8 MB, free: 78.59 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.001762/0.5123, allocations: 481.3 kB / 460.3 MB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006041/0.5129, allocations: 290.5 kB / 460.6 MB, free: 78.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.5156, allocations: 1.876 MB / 462.5 MB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5156, allocations: 22.44 kB / 462.5 MB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.5156, allocations: 7.5 kB / 462.5 MB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.5156, allocations: 14.86 kB / 462.5 MB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.527, allocations: 7.828 MB / 470.3 MB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.527, allocations: 12.44 kB / 470.3 MB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.528, allocations: 432.8 kB / 470.8 MB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.5298, allocations: 0.7713 MB / 471.5 MB, free: 76.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/0.53, allocations: 63.05 kB / 471.6 MB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.5331, allocations: 4.203 MB / 475.8 MB, free: 73.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006534/0.5338, allocations: 1.557 MB / 477.4 MB, free: 71.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.5372, allocations: 2.685 MB / 480 MB, free: 69.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.5387, allocations: 442 kB / 480.5 MB, free: 69.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000507/0.5392, allocations: 63.73 kB / 480.5 MB, free: 69.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.5402, allocations: 91.27 kB / 480.6 MB, free: 69.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.5405, allocations: 231.3 kB / 480.9 MB, free: 68.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.5406, allocations: 65.95 kB / 480.9 MB, free: 68.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001402/0.542, allocations: 1.208 MB / 482.1 MB, free: 68.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.542, allocations: 0 / 482.1 MB, free: 68.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004538/0.5466, allocations: 1.291 MB / 483.4 MB, free: 66.72 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.0005132/0.5471, allocations: 223 kB / 483.6 MB, free: 66.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003696/0.5508, allocations: 2.546 MB / 486.2 MB, free: 64.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001622/0.5509, allocations: 70.34 kB / 486.3 MB, free: 64.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.5525, allocations: 1.279 MB / 487.5 MB, free: 63.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.5558, allocations: 0.8802 MB / 488.4 MB, free: 62.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.5708, allocations: 10.52 MB / 498.9 MB, free: 51.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/0.573, allocations: 1.344 MB / 0.4885 GB, free: 50.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002301/0.5753, allocations: 0.6087 MB / 0.4891 GB, free: 49.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/0.5769, allocations: 0.8544 MB / 0.49 GB, free: 48.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.245e-06/0.5769, allocations: 0 / 0.49 GB, free: 48.68 MB / 378.7 MB Notification: Performance of Templates: time 0.06725/0.6442, allocations: 53.17 MB / 0.5419 GB, free: 12.46 MB / 394.7 MB " [Timeout remaining time 659] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.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.14806606201455]