Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.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.002567/0.002567, allocations: 99.53 kB / 21.73 MB, free: 2.684 MB / 18.57 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.003055/0.003055, allocations: 160.9 kB / 25.03 MB, free: 8.938 MB / 18.57 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 1.346/1.346, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 250.4 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.908e-05/4.121e-05, allocations: 6.109 kB / 250.4 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.04789/0.04793, allocations: 19.77 MB / 270.2 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.06193, allocations: 5.893 MB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004344/0.06627, allocations: 147 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005103/0.07137, allocations: 1.35 MB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008003/0.07937, allocations: 2.002 MB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.0841, allocations: 1.259 MB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.0954, allocations: 6.365 MB / 287.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005938/0.1013, allocations: 2.892 MB / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008894/0.1102, allocations: 4.308 MB / 294.4 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00658/0.1168, allocations: 3.161 MB / 297.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002214/0.119, allocations: 0.7812 MB / 298.3 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.1225, allocations: 1.05 MB / 299.4 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.1253, allocations: 2.041 MB / 301.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005534/0.1309, allocations: 2.308 MB / 303.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.1474, allocations: 10.49 MB / 314.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1474, allocations: 0 / 314.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1474, allocations: 0 / 314.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004066/0.1478, allocations: 4 kB / 314.2 MB, free: 7.656 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.0257/0.1735, allocations: 7.505 MB / 321.7 MB, free: 76 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.1736, allocations: 15.97 kB / 321.7 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008108/0.1817, allocations: 1.594 MB / 323.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009005/0.1907, allocations: 3.168 MB / 326.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004999/0.1912, allocations: 382.7 kB / 326.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.1929, allocations: 0.512 MB / 327.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01866/0.2116, allocations: 6.778 MB / 334.2 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/0.2118, allocations: 11.83 kB / 334.2 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007371/0.2125, allocations: 208 kB / 334.4 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000324/0.2128, allocations: 242.2 kB / 334.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.2261, allocations: 4.662 MB / 339.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.172/0.3982, allocations: 28.78 MB / 368.1 MB, free: 85.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00567/0.4038, allocations: 3.152 MB / 371.2 MB, free: 83.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.4064, allocations: 1.514 MB / 372.7 MB, free: 83.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.4165, allocations: 4.511 MB / 377.2 MB, free: 79.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4166, allocations: 63.39 kB / 377.3 MB, free: 79.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=205): time 4.418e-06/0.4166, allocations: 2.516 kB / 377.3 MB, free: 79.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=222): time 0.01473/0.4313, allocations: 6.917 MB / 384.2 MB, free: 72.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4314, allocations: 73.41 kB / 384.3 MB, free: 72.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/0.4352, allocations: 3.216 MB / 387.5 MB, free: 69.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.4356, allocations: 61.7 kB / 387.6 MB, free: 69.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.4368, allocations: 2.705 MB / 390.3 MB, free: 66.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/0.4375, allocations: 0.8831 MB / 391.1 MB, free: 65.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007875/0.4382, allocations: 0.6457 MB / 391.8 MB, free: 65.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.4383, allocations: 476.8 kB / 392.3 MB, free: 64.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4396, allocations: 0.7944 MB / 393.1 MB, free: 64.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.4414, allocations: 2.224 MB / 395.3 MB, free: 61.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.4448, allocations: 3.321 MB / 398.6 MB, free: 57.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.4448, allocations: 8 kB / 398.6 MB, free: 57.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005689/0.4505, allocations: 3.383 MB / 402 MB, free: 53.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.4505, allocations: 16 kB / 402 MB, free: 53.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.229e-05/0.4506, allocations: 31.44 kB / 402 MB, free: 53.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4517, allocations: 394 kB / 402.4 MB, free: 53.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/0.4541, allocations: 0.6863 MB / 403.1 MB, free: 52.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.4603, allocations: 10.91 MB / 414 MB, free: 41.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.4629, allocations: 167.8 kB / 414.2 MB, free: 41.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/0.4632, allocations: 132 kB / 414.3 MB, free: 41.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (348): * Single equations (assignments): 341 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(3,11,100.0%), (1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002168/0.4654, allocations: 1.272 MB / 415.6 MB, free: 39.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008761/0.4662, allocations: 370.1 kB / 415.9 MB, free: 39.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/0.4713, allocations: 2.622 MB / 418.6 MB, free: 36.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.4713, allocations: 20 kB / 418.6 MB, free: 36.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.4713, allocations: 12 kB / 418.6 MB, free: 36.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.4714, allocations: 11.95 kB / 418.6 MB, free: 36.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.4845, allocations: 7.563 MB / 426.2 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.4845, allocations: 4.469 kB / 426.2 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.4861, allocations: 379.4 kB / 426.5 MB, free: 28.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.488, allocations: 0.6318 MB / 427.2 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/0.4881, allocations: 59.97 kB / 427.2 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.4987, allocations: 18.44 MB / 445.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4987, allocations: 11.94 kB / 445.7 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006721/0.5054, allocations: 3.855 MB / 449.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/0.5076, allocations: 0.5253 MB / 450.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006457/0.5082, allocations: 51.98 kB / 450.1 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.5098, allocations: 131.9 kB / 450.2 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/0.5102, allocations: 177.5 kB / 450.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.5104, allocations: 63.98 kB / 450.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002437/0.5128, allocations: 1.795 MB / 452.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5128, allocations: 0 / 452.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003615/0.5164, allocations: 0.9296 MB / 453.2 MB, free: 0.8711 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.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 (185): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,3,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006094/0.517, allocations: 248.8 kB / 453.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0065/0.5235, allocations: 3.331 MB / 456.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.5235, allocations: 0 / 456.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004535/0.5281, allocations: 2.744 MB / 459.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/0.5318, allocations: 0.7195 MB / 460.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.55, allocations: 8.775 MB / 469 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003894/0.5539, allocations: 2.605 MB / 471.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002988/0.5569, allocations: 0.6107 MB / 472.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008075/0.5577, allocations: 208.5 kB / 472.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5577, allocations: 0 / 472.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.2217/0.7794, allocations: 40.65 MB / 0.5011 GB, free: 120.9 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.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: 7.003176102996804]