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.001461/0.001461, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001496/0.001496, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 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 1.453/1.453, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.952e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1649/0.1649, allocations: 26.11 MB / 293.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.181, allocations: 8.362 MB / 301.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005592/0.1866, allocations: 223 kB / 302 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.1976, allocations: 4.848 MB / 306.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009135/0.2067, allocations: 3.107 MB / 310 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.211, allocations: 1.583 MB / 311.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.2221, allocations: 9.077 MB / 320.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01402/0.2362, allocations: 9.117 MB / 329.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01262/0.2488, allocations: 6.364 MB / 336.1 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008096/0.2569, allocations: 4.05 MB / 340.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.2593, allocations: 1.164 MB / 341.3 MB, free: 332 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.2637, allocations: 1.527 MB / 342.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00268/0.2664, allocations: 2.462 MB / 345.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007006/0.2734, allocations: 3.146 MB / 348.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02275/0.2962, allocations: 16 MB / 364.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2962, allocations: 0 / 364.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2962, allocations: 4 kB / 364.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004457/0.2966, allocations: 0 / 364.5 MB, free: 9.117 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.03181/0.3284, allocations: 9.754 MB / 374.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3285, allocations: 12.92 kB / 374.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.3609, allocations: 6.586 MB / 380.8 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.3736, allocations: 5.295 MB / 386.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006577/0.3742, allocations: 0.5299 MB / 386.7 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/0.377, allocations: 0.7108 MB / 387.4 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/0.4063, allocations: 11.55 MB / 398.9 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/0.4065, allocations: 27.84 kB / 399 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.4075, allocations: 296 kB / 399.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006314/0.4081, allocations: 446.9 kB / 399.7 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/0.4343, allocations: 10.78 MB / 410.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.219/0.6533, allocations: 33.34 MB / 443.8 MB, free: 103.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.666, allocations: 7.43 MB / 451.2 MB, free: 103.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003983/0.67, allocations: 2.418 MB / 453.7 MB, free: 103.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.6824, allocations: 6.846 MB / 460.5 MB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.6824, allocations: 64.59 kB / 460.6 MB, free: 100.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 5.039e-06/0.6825, allocations: 0 / 460.6 MB, free: 100.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01813/0.7006, allocations: 10.33 MB / 470.9 MB, free: 96.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001601/0.7022, allocations: 1.864 MB / 472.8 MB, free: 94.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/0.7068, allocations: 3.626 MB / 476.4 MB, free: 93.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.707, allocations: 61.48 kB / 476.4 MB, free: 93.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.7087, allocations: 3.678 MB / 480.1 MB, free: 90.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006125/0.7093, allocations: 0.8587 MB / 481 MB, free: 90.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.7104, allocations: 0.9534 MB / 481.9 MB, free: 89.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.7104, allocations: 305.1 kB / 482.2 MB, free: 89.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.7126, allocations: 1.891 MB / 484.1 MB, free: 88.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/0.716, allocations: 4.446 MB / 488.6 MB, free: 83.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007039/0.723, allocations: 6.784 MB / 495.3 MB, free: 75.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.53e-05/0.7231, allocations: 24 kB / 495.4 MB, free: 75.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01032/0.7334, allocations: 7.204 MB / 0.4908 GB, free: 68.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.7335, allocations: 44.22 kB / 0.4908 GB, free: 68.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.7336, allocations: 91.94 kB / 0.4909 GB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.736, allocations: 0.8949 MB / 0.4918 GB, free: 67.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.7393, allocations: 1.119 MB / 0.4929 GB, free: 66.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/0.7453, allocations: 5.448 MB / 0.4982 GB, free: 60.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003986/0.7493, allocations: 311.4 kB / 0.4985 GB, free: 60.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006212/0.7499, allocations: 280 kB / 0.4988 GB, free: 59.93 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.00375/0.7536, allocations: 2.522 MB / 0.5012 GB, free: 57.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.7547, allocations: 445.6 kB / 0.5017 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006282/0.761, allocations: 4.232 MB / 0.5058 GB, free: 52.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.761, allocations: 24 kB / 0.5058 GB, free: 52.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.761, allocations: 8 kB / 0.5058 GB, free: 52.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.761, allocations: 15.95 kB / 0.5058 GB, free: 52.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.7799, allocations: 13.08 MB / 0.5186 GB, free: 39.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.7799, allocations: 12.25 kB / 0.5186 GB, free: 39.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.7816, allocations: 479.2 kB / 0.5191 GB, free: 38.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.7842, allocations: 0.8647 MB / 0.5199 GB, free: 38.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.7843, allocations: 77.67 kB / 0.52 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.7915, allocations: 7.161 MB / 0.527 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001244/0.7928, allocations: 1.806 MB / 0.5288 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00878/0.8016, allocations: 6.784 MB / 0.5354 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/0.8035, allocations: 0.7161 MB / 0.5361 GB, free: 20.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/0.8041, allocations: 64.31 kB / 0.5361 GB, free: 20.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.8058, allocations: 159.8 kB / 0.5363 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/0.8063, allocations: 237.3 kB / 0.5365 GB, free: 20.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.8065, allocations: 91.98 kB / 0.5366 GB, free: 20.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002976/0.8094, allocations: 2.26 MB / 0.5388 GB, free: 18.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8094, allocations: 4 kB / 0.5388 GB, free: 18.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005191/0.8146, allocations: 1.285 MB / 0.5401 GB, free: 16.82 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.0005841/0.8152, allocations: 234.7 kB / 0.5403 GB, free: 16.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00687/0.8221, allocations: 4.815 MB / 0.545 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/0.8221, allocations: 4 kB / 0.545 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003299/0.8254, allocations: 2.173 MB / 0.5471 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/0.8298, allocations: 0.8797 MB / 0.548 GB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/0.8525, allocations: 12.66 MB / 0.5604 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006819/0.8593, allocations: 4.019 MB / 0.5643 GB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004286/0.8636, allocations: 1.322 MB / 0.5656 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009445/0.8646, allocations: 284.5 kB / 0.5658 GB, free: 6.133 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8646, allocations: 0 / 0.5658 GB, free: 6.133 MB / 394.7 MB Notification: Performance of Templates: time 0.2301/1.095, allocations: 47.55 MB / 0.6123 GB, free: 97.43 MB / 394.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.960080921999179]