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.SMR_CurrentSource.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.001829/0.001829, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002107/0.002107, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 47.91 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2103, allocations: 53.36 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.04102/0.2513, allocations: 34.39 MB / 466.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01935/0.2707, allocations: 10.37 MB / 477.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.2739, allocations: 366 kB / 477.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01794/0.2919, allocations: 8.024 MB / 485.5 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008361/0.3002, allocations: 3.511 MB / 489 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.3053, allocations: 2.339 MB / 491.4 MB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01367/0.319, allocations: 13.04 MB / 0.4926 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02303/0.342, allocations: 17.37 MB / 0.5095 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00854/0.3505, allocations: 6.99 MB / 0.5164 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009957/0.3605, allocations: 7.923 MB / 0.5241 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002532/0.363, allocations: 1.949 MB / 0.526 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.3669, allocations: 2.355 MB / 0.5283 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00347/0.3704, allocations: 3.967 MB / 0.5322 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3487/0.7191, allocations: 5.905 MB / 0.538 GB, free: 44.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02009/0.7392, allocations: 26.07 MB / 0.5634 GB, free: 39.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7392, allocations: 2.312 kB / 0.5634 GB, free: 39.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.7392, allocations: 0 / 0.5634 GB, free: 39.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004472/0.7396, allocations: 0.8125 kB / 0.5634 GB, free: 39.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3329 * Number of variables: 3329 Notification: Performance of Generate backend data structure: time 0.03105/0.7707, allocations: 15.25 MB / 0.5783 GB, free: 31.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.7707, allocations: 9.375 kB / 0.5783 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0308/0.8015, allocations: 6.124 MB / 0.5843 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01543/0.8169, allocations: 8.097 MB / 0.5922 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005604/0.8175, allocations: 0.9075 MB / 0.5931 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003398/0.8209, allocations: 1.194 MB / 0.5943 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/0.8506, allocations: 18.92 MB / 0.6127 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.8509, allocations: 27.45 kB / 0.6128 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.852, allocations: 0.4893 MB / 0.6132 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/0.8525, allocations: 0.6382 MB / 0.6139 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02853/0.881, allocations: 16.74 MB / 0.6302 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0846/0.9656, allocations: 50.67 MB / 0.6797 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/0.9835, allocations: 10.28 MB / 0.6897 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005432/0.9889, allocations: 3.401 MB / 0.693 GB, free: 3.086 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/1.005, allocations: 7.675 MB / 0.7005 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/1.005, allocations: 69.31 kB / 0.7006 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=349): time 6.011e-06/1.005, allocations: 4 kB / 0.7006 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=389): time 0.03621/1.041, allocations: 17.23 MB / 0.7174 GB, free: 10.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.041, allocations: 97.78 kB / 0.7175 GB, free: 10.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006995/1.048, allocations: 4.791 MB / 0.7222 GB, free: 5.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/1.048, allocations: 89.7 kB / 0.7223 GB, free: 5.211 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004148/1.053, allocations: 5.647 MB / 0.7278 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.054, allocations: 1.422 MB / 0.7292 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002202/1.056, allocations: 1.342 MB / 0.7305 GB, free: 12.79 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.056, allocations: 301.1 kB / 0.7308 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.061, allocations: 2.906 MB / 0.7336 GB, free: 9.586 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007167/1.068, allocations: 5.926 MB / 0.7394 GB, free: 2.293 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/1.081, allocations: 9.455 MB / 0.7487 GB, free: 7.816 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.697e-05/1.081, allocations: 35.94 kB / 0.7487 GB, free: 7.781 MB / 0.5763 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.2132/1.294, allocations: 9.832 MB / 0.7583 GB, free: 198.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.294, allocations: 48.55 kB / 0.7583 GB, free: 198.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/1.294, allocations: 102.1 kB / 0.7584 GB, free: 198.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/1.297, allocations: 0.9371 MB / 0.7594 GB, free: 198.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006055/1.303, allocations: 1.592 MB / 0.7609 GB, free: 198.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.313, allocations: 9.667 MB / 0.7704 GB, free: 194.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/1.318, allocations: 412.8 kB / 0.7707 GB, free: 194.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/1.318, allocations: 354 kB / 0.7711 GB, free: 194.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (816): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005374/1.324, allocations: 4.245 MB / 0.7752 GB, free: 193.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008767/1.324, allocations: 0.5129 MB / 0.7757 GB, free: 193.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009254/1.334, allocations: 6.431 MB / 0.782 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/1.334, allocations: 27.67 kB / 0.782 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.334, allocations: 0 / 0.782 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/1.336, allocations: 0.9835 MB / 0.783 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/1.336, allocations: 65.62 kB / 0.7831 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.339, allocations: 220.4 kB / 0.7833 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/1.339, allocations: 293.2 kB / 0.7836 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009258/1.348, allocations: 6.047 MB / 0.7895 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008929/1.357, allocations: 8.04 MB / 0.7973 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002364/1.36, allocations: 2.288 MB / 0.7995 GB, free: 183.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003442/1.363, allocations: 3.063 MB / 0.8025 GB, free: 181.2 MB / 0.5763 GB Notification: Performance of Backend: time 2.41e-07/1.363, allocations: 0 / 0.8025 GB, free: 181.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008228/1.371, allocations: 5.441 MB / 0.8078 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02498/1.396, allocations: 19.63 MB / 0.827 GB, free: 158.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.1274/1.524, allocations: 99.68 MB / 0.9244 GB, free: 60.15 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_CurrentSource/SMR_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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: 8.527323258000251]