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.001001/0.001001, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002357, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001007/0.001007, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002333, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8904/0.8904, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07048/0.9609, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.332e-06/1.332e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.217e-06/1.055e-05, allocations: 6.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.021/0.02101, allocations: 29.53 MB / 274.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1288/0.1498, allocations: 9.24 MB / 283.3 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003611/0.1534, allocations: 222.3 kB / 283.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005815/0.1592, allocations: 5.211 MB / 288.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.1646, allocations: 3.108 MB / 291.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.1669, allocations: 1.613 MB / 293.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006784/0.1737, allocations: 9.252 MB / 302.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008468/0.1821, allocations: 9.063 MB / 311.8 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006445/0.1886, allocations: 6.821 MB / 318.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004972/0.1935, allocations: 4.582 MB / 323.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.1956, allocations: 1.156 MB / 324.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.1978, allocations: 1.547 MB / 325.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.1994, allocations: 1.994 MB / 327.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00314/0.2025, allocations: 2.651 MB / 330.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007642/0.2102, allocations: 7.359 MB / 337.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.2102, allocations: 0 / 337.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2102, allocations: 0 / 337.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000181/0.2104, allocations: 3.984 kB / 337.9 MB, free: 10.45 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.01637/0.2267, allocations: 11 MB / 348.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2268, allocations: 15.98 kB / 348.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0191/0.2459, allocations: 5.202 MB / 354.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005106/0.251, allocations: 2.787 MB / 356.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/0.2513, allocations: 0.535 MB / 357.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009484/0.2523, allocations: 0.7118 MB / 358.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007948/0.2602, allocations: 5.967 MB / 364.1 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.2603, allocations: 15.55 kB / 364.1 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006188/0.261, allocations: 295.3 kB / 364.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003675/0.2613, allocations: 451 kB / 364.9 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/0.266, allocations: 3.027 MB / 367.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/0.2897, allocations: 23.39 MB / 391.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004706/0.2944, allocations: 4.376 MB / 395.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009784/0.2954, allocations: 0.9498 MB / 396.6 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005263/0.3006, allocations: 3.774 MB / 400.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3007, allocations: 56.56 kB / 400.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.146e-06/0.3007, allocations: 4 kB / 400.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.007376/0.308, allocations: 4.727 MB / 405.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009301/0.309, allocations: 1.606 MB / 406.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.3108, allocations: 2.619 MB / 409.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.966e-05/0.3109, allocations: 61.7 kB / 409.4 MB, free: 4.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.3125, allocations: 3.336 MB / 412.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.3129, allocations: 0.8639 MB / 413.6 MB, free: 368 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007417/0.3137, allocations: 0.9102 MB / 414.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.3137, allocations: 305.1 kB / 414.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009895/0.3147, allocations: 0.6801 MB / 415.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.3169, allocations: 3.134 MB / 418.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.3197, allocations: 4.125 MB / 422.8 MB, free: 4.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/0.3197, allocations: 24 kB / 422.8 MB, free: 4.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.003769/0.3235, allocations: 3.472 MB / 426.3 MB, free: 1.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.3235, allocations: 44 kB / 426.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.04e-05/0.3236, allocations: 87.94 kB / 426.4 MB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.3247, allocations: 0.6514 MB / 427.1 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1225/0.4472, allocations: 1.173 MB / 428.2 MB, free: 96.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.4501, allocations: 2.897 MB / 431.1 MB, free: 95.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.4522, allocations: 235.9 kB / 431.4 MB, free: 95.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/0.4525, allocations: 231.8 kB / 431.6 MB, free: 95.52 MB / 394.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.00121/0.4537, allocations: 481.8 kB / 432.1 MB, free: 95.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.4541, allocations: 292 kB / 432.3 MB, free: 95.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.4567, allocations: 1.867 MB / 434.2 MB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4567, allocations: 28.59 kB / 434.2 MB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4567, allocations: 5.5 kB / 434.2 MB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.4567, allocations: 10.5 kB / 434.3 MB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007897/0.4646, allocations: 7.838 MB / 442.1 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4646, allocations: 9.969 kB / 442.1 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.4656, allocations: 476 kB / 442.6 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/0.4662, allocations: 434.2 kB / 443 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.4674, allocations: 0.7697 MB / 443.8 MB, free: 94.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/0.4675, allocations: 63.75 kB / 443.8 MB, free: 94.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/0.4704, allocations: 4.214 MB / 448 MB, free: 91.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005703/0.4709, allocations: 1.563 MB / 449.6 MB, free: 90.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.4736, allocations: 2.686 MB / 452.3 MB, free: 89.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.4739, allocations: 61.62 kB / 452.3 MB, free: 89.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.4746, allocations: 84.8 kB / 452.4 MB, free: 89.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.4748, allocations: 235.1 kB / 452.7 MB, free: 89.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4749, allocations: 71.64 kB / 452.7 MB, free: 89.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008786/0.4758, allocations: 1.198 MB / 453.9 MB, free: 89.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4758, allocations: 0 / 453.9 MB, free: 89.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002785/0.4786, allocations: 1.294 MB / 455.2 MB, free: 89.4 MB / 394.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.0003289/0.4789, allocations: 215.8 kB / 455.4 MB, free: 89.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.4815, allocations: 2.554 MB / 458 MB, free: 89.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001335/0.4816, allocations: 92.28 kB / 458.1 MB, free: 89.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4827, allocations: 1.275 MB / 459.4 MB, free: 88.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.4847, allocations: 1.188 MB / 460.5 MB, free: 88.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/0.5283, allocations: 10.83 MB / 471.4 MB, free: 83.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.5293, allocations: 1.348 MB / 472.7 MB, free: 82.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0016/0.5309, allocations: 0.6093 MB / 473.3 MB, free: 82.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.5323, allocations: 0.8588 MB / 474.2 MB, free: 81.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5323, allocations: 0.6562 kB / 474.2 MB, free: 81.64 MB / 394.7 MB Notification: Performance of Templates: time 0.0601/0.5924, allocations: 55.54 MB / 0.5173 GB, free: 27.73 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 -emit_protected -ignoreHideResult -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.1261487659066916]