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.001624/0.001624, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001752/0.001752, allocations: 210.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001561/0.001561, allocations: 43.94 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.205, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0324/0.2374, allocations: 26.62 MB / 459 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.2527, allocations: 8.565 MB / 467.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.2547, allocations: 222.9 kB / 467.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.2653, allocations: 4.646 MB / 472.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006623/0.272, allocations: 3.057 MB / 475.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.2754, allocations: 1.608 MB / 477.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009909/0.2853, allocations: 8.872 MB / 485.9 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.2974, allocations: 9.231 MB / 495.2 MB, free: 7.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00513/0.3026, allocations: 4.355 MB / 499.5 MB, free: 3.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005781/0.3083, allocations: 4.893 MB / 0.4926 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.3098, allocations: 1.16 MB / 0.4937 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.3124, allocations: 1.539 MB / 0.4952 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.3145, allocations: 2.404 MB / 0.4976 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003832/0.3183, allocations: 3.661 MB / 0.5012 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.3338, allocations: 15.94 MB / 0.5167 GB, free: 5.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3338, allocations: 4 kB / 0.5167 GB, free: 5.566 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3338, allocations: 0 / 0.5167 GB, free: 5.566 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000155/0.3339, allocations: 0 / 0.5167 GB, free: 5.566 MB / 430.1 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.0226/0.3565, allocations: 9.884 MB / 0.5264 GB, free: 11.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3566, allocations: 12.03 kB / 0.5264 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02959/0.3861, allocations: 5.224 MB / 0.5315 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.3963, allocations: 5.102 MB / 0.5365 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.3967, allocations: 0.5337 MB / 0.537 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.156/0.5527, allocations: 0.7061 MB / 0.5377 GB, free: 93.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01845/0.5712, allocations: 11.58 MB / 0.549 GB, free: 89.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.5713, allocations: 15.14 kB / 0.549 GB, free: 89.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006872/0.572, allocations: 302.2 kB / 0.5493 GB, free: 88.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/0.5724, allocations: 443.9 kB / 0.5497 GB, free: 88.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.5853, allocations: 10.82 MB / 0.5603 GB, free: 80.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03557/0.6208, allocations: 32.69 MB / 0.5922 GB, free: 47.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.6309, allocations: 7.432 MB / 0.5995 GB, free: 41.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/0.6337, allocations: 2.45 MB / 0.6019 GB, free: 39.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.644, allocations: 6.891 MB / 0.6086 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.6441, allocations: 60.5 kB / 0.6086 GB, free: 32.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.137e-06/0.6441, allocations: 0 / 0.6086 GB, free: 32.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01553/0.6596, allocations: 10.29 MB / 0.6187 GB, free: 22.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001393/0.661, allocations: 1.863 MB / 0.6205 GB, free: 20.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/0.6644, allocations: 3.635 MB / 0.6241 GB, free: 16.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.6645, allocations: 61.7 kB / 0.6241 GB, free: 16.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.6658, allocations: 3.703 MB / 0.6277 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.6662, allocations: 0.8672 MB / 0.6286 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.6673, allocations: 0.9692 MB / 0.6295 GB, free: 11.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.599e-05/0.6673, allocations: 305.1 kB / 0.6298 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.6694, allocations: 1.897 MB / 0.6317 GB, free: 9.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.6724, allocations: 4.442 MB / 0.636 GB, free: 3.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007464/0.6798, allocations: 6.8 MB / 0.6427 GB, free: 11.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-05/0.6799, allocations: 28 kB / 0.6427 GB, free: 11.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01192/0.6918, allocations: 6.966 MB / 0.6495 GB, free: 4.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.6918, allocations: 40 kB / 0.6495 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.767e-05/0.6919, allocations: 88.91 kB / 0.6496 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.694, allocations: 0.7368 MB / 0.6503 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003797/0.6978, allocations: 1.131 MB / 0.6514 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008051/0.7059, allocations: 5.421 MB / 0.6567 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/0.7089, allocations: 315.4 kB / 0.657 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003984/0.7093, allocations: 272 kB / 0.6573 GB, free: 12.33 MB / 478.1 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.003748/0.7131, allocations: 2.526 MB / 0.6598 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/0.7137, allocations: 377.6 kB / 0.6601 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007925/0.7216, allocations: 4.225 MB / 0.6642 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.7216, allocations: 24 kB / 0.6643 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.7216, allocations: 12 kB / 0.6643 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.7217, allocations: 11.95 kB / 0.6643 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/0.7434, allocations: 12.67 MB / 0.6767 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.7434, allocations: 12 kB / 0.6767 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/0.7454, allocations: 483.2 kB / 0.6771 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.7476, allocations: 0.6972 MB / 0.6778 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.7477, allocations: 67.98 kB / 0.6779 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.7578, allocations: 7.126 MB / 0.6848 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002059/0.7599, allocations: 1.807 MB / 0.6866 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/0.7707, allocations: 6.73 MB / 0.6932 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/0.7726, allocations: 0.7238 MB / 0.6939 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004676/0.7731, allocations: 64.05 kB / 0.6939 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.7749, allocations: 159.8 kB / 0.6941 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004214/0.7753, allocations: 236.5 kB / 0.6943 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.7755, allocations: 91.98 kB / 0.6944 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003348/0.7788, allocations: 2.272 MB / 0.6966 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7788, allocations: 4 kB / 0.6966 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004251/0.7831, allocations: 1.293 MB / 0.6979 GB, free: 1.934 MB / 0.4981 GB 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.0004408/0.7835, allocations: 227.2 kB / 0.6981 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007758/0.7913, allocations: 4.827 MB / 0.7028 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.7913, allocations: 4 kB / 0.7028 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/0.795, allocations: 2.177 MB / 0.7049 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/0.7987, allocations: 0.8748 MB / 0.7058 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.8177, allocations: 12.53 MB / 0.718 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004774/0.8225, allocations: 4.016 MB / 0.722 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003429/0.8259, allocations: 1.33 MB / 0.7233 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/0.8267, allocations: 299.4 kB / 0.7235 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.8267, allocations: 0 / 0.7235 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of Templates: time 0.2578/1.084, allocations: 58.5 MB / 0.7807 GB, free: 168 MB / 0.545 GB " [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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.79528940799355]