Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008884/0.0008884, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002183, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007284/0.0007284, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009771/0.001706, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8599/0.8599, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1712/1.031, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|currentController.y.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_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|currentController.y.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 222 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.721e-05, allocations: 6.312 kB / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.03016/0.03018, allocations: 37.86 MB / 259.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02518/0.05536, allocations: 11.14 MB / 271 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007647/0.06301, allocations: 322.1 kB / 271.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.07437, allocations: 9.09 MB / 280.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009191/0.08356, allocations: 3.774 MB / 284.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.156/0.2395, allocations: 2.408 MB / 286.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01943/0.259, allocations: 14.03 MB / 300.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02669/0.2857, allocations: 17.53 MB / 318.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01868/0.3043, allocations: 11.4 MB / 329.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01397/0.3183, allocations: 7.824 MB / 337.4 MB, free: 448 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006686/0.325, allocations: 2.074 MB / 339.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006933/0.3319, allocations: 2.374 MB / 341.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003029/0.335, allocations: 3.417 MB / 345.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006844/0.3418, allocations: 4.403 MB / 349.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.3569, allocations: 12.26 MB / 361.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.3569, allocations: 0 / 361.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3569, allocations: 0 / 361.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007636/0.3577, allocations: 0 / 361.9 MB, free: 8.938 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3512 * Number of variables: 3512 Notification: Performance of Generate backend data structure: time 0.02984/0.3875, allocations: 17.73 MB / 379.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3876, allocations: 8.031 kB / 379.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02487/0.4124, allocations: 8.901 MB / 388.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.4229, allocations: 3.879 MB / 392.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000619/0.4235, allocations: 0.9469 MB / 393.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/0.4257, allocations: 1.25 MB / 394.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.4423, allocations: 10.27 MB / 404.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/0.4425, allocations: 27.75 kB / 404.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009966/0.4435, allocations: 0.5086 MB / 405.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008856/0.4444, allocations: 0.702 MB / 406.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009206/0.4536, allocations: 5.249 MB / 411.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2536/0.7072, allocations: 38.48 MB / 449.9 MB, free: 65.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.7177, allocations: 8.72 MB / 458.6 MB, free: 64.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.7194, allocations: 1.423 MB / 460 MB, free: 64.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009719/0.7291, allocations: 5.265 MB / 465.3 MB, free: 64.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.7291, allocations: 71.61 kB / 465.3 MB, free: 64.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=350): time 5.46e-06/0.7291, allocations: 3.406 kB / 465.4 MB, free: 64.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.01738/0.7465, allocations: 9.047 MB / 474.4 MB, free: 62.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.7466, allocations: 91.22 kB / 474.5 MB, free: 62.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/0.7504, allocations: 3.698 MB / 478.2 MB, free: 61.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.7506, allocations: 89.77 kB / 478.3 MB, free: 61.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/0.7525, allocations: 5.561 MB / 483.8 MB, free: 58.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007179/0.7532, allocations: 1.427 MB / 485.3 MB, free: 57.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.7545, allocations: 1.411 MB / 486.7 MB, free: 57.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.7545, allocations: 305.1 kB / 487 MB, free: 57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.7557, allocations: 0.9481 MB / 487.9 MB, free: 56.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.758, allocations: 4.458 MB / 492.4 MB, free: 52.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/0.7635, allocations: 6.594 MB / 499 MB, free: 47.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.7e-05/0.7636, allocations: 34.66 kB / 499 MB, free: 47.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=982) (initialization): time 0.006265/0.7698, allocations: 5.169 MB / 0.4924 GB, free: 47.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.7699, allocations: 59.5 kB / 0.4924 GB, free: 47.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.77, allocations: 127.4 kB / 0.4925 GB, free: 47.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.7717, allocations: 0.8362 MB / 0.4934 GB, free: 47.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/0.7751, allocations: 1.94 MB / 0.4952 GB, free: 47.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.7794, allocations: 6.063 MB / 0.5012 GB, free: 43.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.7827, allocations: 327.1 kB / 0.5015 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/0.7831, allocations: 347.3 kB / 0.5018 GB, free: 43.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * 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 (933): * Single equations (assignments): 928 * 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,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00232/0.7854, allocations: 0.6709 MB / 0.5025 GB, free: 43.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/0.7859, allocations: 434.6 kB / 0.5029 GB, free: 43.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.7892, allocations: 2.75 MB / 0.5056 GB, free: 41.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.7893, allocations: 40 kB / 0.5056 GB, free: 41.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7893, allocations: 8 kB / 0.5056 GB, free: 41.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/0.7893, allocations: 19.17 kB / 0.5056 GB, free: 41.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009348/0.7986, allocations: 6.932 MB / 0.5124 GB, free: 37.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7986, allocations: 7.938 kB / 0.5124 GB, free: 37.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/0.8004, allocations: 0.7916 MB / 0.5132 GB, free: 37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/0.8013, allocations: 0.5884 MB / 0.5138 GB, free: 36.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.8025, allocations: 0.6525 MB / 0.5144 GB, free: 36.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.8027, allocations: 79.69 kB / 0.5145 GB, free: 36.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.8061, allocations: 5.622 MB / 0.52 GB, free: 31.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.8061, allocations: 4 kB / 0.52 GB, free: 31.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/0.8098, allocations: 3.299 MB / 0.5232 GB, free: 28.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.8102, allocations: 73.94 kB / 0.5233 GB, free: 28.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009375/0.8111, allocations: 108.5 kB / 0.5234 GB, free: 27.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.8114, allocations: 271.8 kB / 0.5236 GB, free: 27.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.8116, allocations: 78.55 kB / 0.5237 GB, free: 27.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.8128, allocations: 1.669 MB / 0.5253 GB, free: 26.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8128, allocations: 0 / 0.5253 GB, free: 26.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004776/0.8176, allocations: 1.968 MB / 0.5272 GB, free: 24.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * 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 (369): * Single equations (assignments): 364 * 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,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/0.8181, allocations: 241.6 kB / 0.5275 GB, free: 24.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004769/0.8228, allocations: 4.068 MB / 0.5314 GB, free: 21.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000266/0.8231, allocations: 157.8 kB / 0.5316 GB, free: 20.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.8251, allocations: 1.983 MB / 0.5335 GB, free: 19.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/0.8303, allocations: 10.73 MB / 0.544 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07325/0.9036, allocations: 18.38 MB / 0.562 GB, free: 6.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.9062, allocations: 2.38 MB / 0.5643 GB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003199/0.9094, allocations: 0.8939 MB / 0.5652 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002423/0.9118, allocations: 1.17 MB / 0.5663 GB, free: 2.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.535e-06/0.9118, allocations: 0 / 0.5663 GB, free: 2.02 MB / 410.7 MB Notification: Performance of Templates: time 0.2463/1.158, allocations: 73.33 MB / 0.6379 GB, free: 90.91 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_CurrentSource/SMR_CurrentSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.228945853188634]