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.001447/0.001447, allocations: 68.08 kB / 21.69 MB, free: 2.863 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.0009241/0.0009241, allocations: 147.8 kB / 24.98 MB, free: 8.816 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.9248/0.9248, allocations: 173.3 MB / 201.5 MB, free: 9.355 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.734e-06/1.734e-06, allocations: 3.938 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.126e-05, allocations: 2.312 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1293/0.1293, allocations: 29.79 MB / 297.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.1423, allocations: 8.545 MB / 306.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.1456, allocations: 218.3 kB / 306.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005795/0.1514, allocations: 5.198 MB / 311.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.157, allocations: 3.127 MB / 315 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.1594, allocations: 1.6 MB / 316.6 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.1656, allocations: 9.081 MB / 325.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009073/0.1746, allocations: 9.129 MB / 334.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006065/0.1807, allocations: 6.415 MB / 341.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/0.1851, allocations: 4.44 MB / 345.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.1867, allocations: 1.16 MB / 346.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.1886, allocations: 1.519 MB / 348.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.1899, allocations: 2.497 MB / 350.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002726/0.1926, allocations: 3.181 MB / 354 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006638/0.1993, allocations: 7.759 MB / 361.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1993, allocations: 0 / 361.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1993, allocations: 0 / 361.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.1994, allocations: 3.938 kB / 361.7 MB, free: 13.27 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.01302/0.2124, allocations: 10.35 MB / 372.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2125, allocations: 8.922 kB / 372.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/0.23, allocations: 6.601 MB / 378.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006655/0.2367, allocations: 4.859 MB / 383.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.237, allocations: 0.5376 MB / 384.1 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008909/0.2379, allocations: 0.703 MB / 384.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0096/0.2475, allocations: 6.376 MB / 391.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.2476, allocations: 15.84 kB / 391.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005324/0.2481, allocations: 300 kB / 391.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003158/0.2484, allocations: 443 kB / 391.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007006/0.2554, allocations: 3.706 MB / 395.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02909/0.2845, allocations: 30.59 MB / 426.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/0.2914, allocations: 6.476 MB / 432.7 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.293, allocations: 1.225 MB / 433.9 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1337/0.4266, allocations: 4.923 MB / 438.9 MB, free: 89.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.4267, allocations: 59.89 kB / 438.9 MB, free: 89.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.767e-06/0.4267, allocations: 1.219 kB / 438.9 MB, free: 89.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01111/0.4378, allocations: 6.334 MB / 445.2 MB, free: 89.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001096/0.4389, allocations: 2.226 MB / 447.5 MB, free: 87.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.4428, allocations: 3.325 MB / 450.8 MB, free: 86.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.443, allocations: 62.67 kB / 450.9 MB, free: 86.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.4445, allocations: 3.865 MB / 454.7 MB, free: 85.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.4449, allocations: 0.8792 MB / 455.6 MB, free: 84.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009176/0.4458, allocations: 1.029 MB / 456.6 MB, free: 84.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.4459, allocations: 480.3 kB / 457.1 MB, free: 83.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.4469, allocations: 0.6455 MB / 457.7 MB, free: 83.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.449, allocations: 4.389 MB / 462.1 MB, free: 79.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/0.4526, allocations: 5.529 MB / 467.7 MB, free: 74.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.225e-05/0.4526, allocations: 23.47 kB / 467.7 MB, free: 74.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005373/0.458, allocations: 4.601 MB / 472.3 MB, free: 73.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.4581, allocations: 44.03 kB / 472.3 MB, free: 73.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.75e-05/0.4581, allocations: 84.41 kB / 472.4 MB, free: 73.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.4595, allocations: 0.7149 MB / 473.1 MB, free: 73.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.4613, allocations: 1.122 MB / 474.3 MB, free: 73.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.4643, allocations: 3.822 MB / 478.1 MB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.4661, allocations: 312.9 kB / 478.4 MB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.4663, allocations: 274.6 kB / 478.6 MB, free: 72.05 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.001317/0.4676, allocations: 0.5189 MB / 479.2 MB, free: 71.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.468, allocations: 450.5 kB / 479.6 MB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.4711, allocations: 2.465 MB / 482.1 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4711, allocations: 24.5 kB / 482.1 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4711, allocations: 9.031 kB / 482.1 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.4711, allocations: 11.11 kB / 482.1 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.4819, allocations: 11.47 MB / 493.6 MB, free: 64.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4819, allocations: 12 kB / 493.6 MB, free: 64.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.4828, allocations: 482.2 kB / 494.1 MB, free: 64.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.4841, allocations: 0.6698 MB / 494.7 MB, free: 63.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.4843, allocations: 67.94 kB / 494.8 MB, free: 63.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.4881, allocations: 5.74 MB / 0.4888 GB, free: 58.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00081/0.4889, allocations: 2.19 MB / 0.491 GB, free: 55.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.493, allocations: 3.599 MB / 0.4945 GB, free: 52.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/0.4938, allocations: 0.6626 MB / 0.4951 GB, free: 51.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.4941, allocations: 66.38 kB / 0.4952 GB, free: 51.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008496/0.495, allocations: 160.8 kB / 0.4953 GB, free: 51.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.4952, allocations: 234.5 kB / 0.4956 GB, free: 51.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/0.4953, allocations: 87.98 kB / 0.4956 GB, free: 51.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00155/0.4969, allocations: 1.591 MB / 0.4972 GB, free: 49.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4969, allocations: 0 / 0.4972 GB, free: 49.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003393/0.5003, allocations: 1.285 MB / 0.4984 GB, free: 48.45 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.0003392/0.5006, allocations: 226.8 kB / 0.4987 GB, free: 48.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.5043, allocations: 3.117 MB / 0.5017 GB, free: 45.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5043, allocations: 4 kB / 0.5017 GB, free: 45.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.5058, allocations: 1.625 MB / 0.5033 GB, free: 43.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.5079, allocations: 0.8815 MB / 0.5042 GB, free: 42.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5189, allocations: 10.87 MB / 0.5148 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.52, allocations: 1.769 MB / 0.5165 GB, free: 29.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001952/0.5219, allocations: 1.147 MB / 0.5176 GB, free: 28.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.5224, allocations: 284.5 kB / 0.5179 GB, free: 28.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5224, allocations: 0 / 0.5179 GB, free: 28.54 MB / 378.7 MB Notification: Performance of Templates: time 0.07248/0.5949, allocations: 47.59 MB / 0.5644 GB, free: 13.82 MB / 410.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 -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.144810372032225]