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.001443/0.001443, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.00173/0.00173, allocations: 167.4 kB / 25.69 MB, free: 8.418 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 0.867/0.867, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.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.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.[0-9,]+.|smrE.idq_rr.[0-9,]+.|smrE.idq_sr.[0-9,]+.|smrM.is.[0-9,]+.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|smrE.idq_rr.[0-9,]+.|smrE.idq_sr.[0-9,]+.|smrM.is.[0-9,]+.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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 1.974e-06/1.974e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.982e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.0219/0.02192, allocations: 19.29 MB / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.03606, allocations: 6.128 MB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.03874, allocations: 158.9 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.04193, allocations: 1.377 MB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.04717, allocations: 2.01 MB / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.04948, allocations: 1.263 MB / 281.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004828/0.05431, allocations: 6.365 MB / 288.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.05685, allocations: 2.958 MB / 291.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.0613, allocations: 4.628 MB / 295.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.06412, allocations: 3.075 MB / 298.8 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006604/0.06478, allocations: 0.7617 MB / 299.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.06593, allocations: 1.034 MB / 300.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.06699, allocations: 1.971 MB / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.06859, allocations: 2.265 MB / 304.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.07289, allocations: 5.358 MB / 310.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.07289, allocations: 4 kB / 310.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0729, allocations: 0 / 310.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.263e-05/0.07295, allocations: 4 kB / 310.2 MB, free: 12.27 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.006691/0.07964, allocations: 6.274 MB / 316.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.07967, allocations: 11.98 kB / 316.5 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.08216, allocations: 1.382 MB / 317.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.08471, allocations: 2.116 MB / 320 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004425/0.08515, allocations: 386.6 kB / 320.4 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004908/0.08564, allocations: 0.5003 MB / 320.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/0.08934, allocations: 3.864 MB / 324.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/0.08942, allocations: 19.81 kB / 324.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.08971, allocations: 208 kB / 325 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.0899, allocations: 242.2 kB / 325.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.09222, allocations: 1.537 MB / 326.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.1052, allocations: 13.21 MB / 339.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.1076, allocations: 2.323 MB / 342.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008574/0.1085, allocations: 0.7963 MB / 343.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003815/0.1123, allocations: 2.762 MB / 345.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1123, allocations: 60.56 kB / 345.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=204): time 2.745e-06/0.1123, allocations: 0 / 345.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=221): time 0.006128/0.1185, allocations: 4.301 MB / 350.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1185, allocations: 89.28 kB / 350.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.1198, allocations: 1.871 MB / 352.1 MB, free: 1.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.356e-05/0.1199, allocations: 61.7 kB / 352.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1047/0.2246, allocations: 2.042 MB / 354.2 MB, free: 75.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/0.2253, allocations: 0.805 MB / 355 MB, free: 75.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006623/0.226, allocations: 499.6 kB / 355.5 MB, free: 75.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.651e-05/0.226, allocations: 302.3 kB / 355.8 MB, free: 74.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.2265, allocations: 328.8 kB / 356.2 MB, free: 74.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/0.2271, allocations: 1.228 MB / 357.4 MB, free: 73.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2284, allocations: 1.853 MB / 359.2 MB, free: 72.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.2284, allocations: 9.688 kB / 359.2 MB, free: 72.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.002255/0.2306, allocations: 1.893 MB / 361.1 MB, free: 72.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2307, allocations: 16.62 kB / 361.2 MB, free: 72.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.2307, allocations: 29.16 kB / 361.2 MB, free: 72.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/0.2312, allocations: 318.5 kB / 361.5 MB, free: 72.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.2324, allocations: 0.6254 MB / 362.1 MB, free: 72.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.2352, allocations: 7.263 MB / 369.4 MB, free: 66.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.2362, allocations: 111.1 kB / 369.5 MB, free: 66.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.2363, allocations: 102 kB / 369.6 MB, free: 66.3 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 (347): * Single equations (assignments): 340 * 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.0008074/0.2371, allocations: 295.6 kB / 369.9 MB, free: 66.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.2374, allocations: 252.8 kB / 370.1 MB, free: 66.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.2393, allocations: 1.566 MB / 371.7 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.2393, allocations: 21.53 kB / 371.7 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.2393, allocations: 8.625 kB / 371.7 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.2393, allocations: 11.62 kB / 371.7 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/0.2441, allocations: 4.322 MB / 376.1 MB, free: 65.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.2442, allocations: 6.438 kB / 376.1 MB, free: 65.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.2449, allocations: 333.3 kB / 376.4 MB, free: 65.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/0.2458, allocations: 0.5317 MB / 376.9 MB, free: 65.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.2459, allocations: 61.42 kB / 377 MB, free: 65.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004478/0.2504, allocations: 11.93 MB / 388.9 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2504, allocations: 3.75 kB / 388.9 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.2526, allocations: 2.139 MB / 391 MB, free: 54.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.2531, allocations: 342.1 kB / 391.4 MB, free: 53.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.2533, allocations: 57.95 kB / 391.4 MB, free: 53.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.2538, allocations: 83.59 kB / 391.5 MB, free: 53.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.254, allocations: 178 kB / 391.7 MB, free: 53.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.2541, allocations: 52.44 kB / 391.7 MB, free: 53.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006216/0.2547, allocations: 0.9361 MB / 392.7 MB, free: 53.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2547, allocations: 0 / 392.7 MB, free: 53.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001698/0.2564, allocations: 0.9114 MB / 393.6 MB, free: 52.29 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 (184): * Single equations (assignments): 176 * 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%), (1,2,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.0003135/0.2567, allocations: 238.1 kB / 393.8 MB, free: 52.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.2583, allocations: 2.003 MB / 395.8 MB, free: 50.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.974e-05/0.2583, allocations: 39.97 kB / 395.9 MB, free: 50.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.2594, allocations: 1.766 MB / 397.6 MB, free: 48.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.2608, allocations: 0.7202 MB / 398.4 MB, free: 48.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.2679, allocations: 7.847 MB / 406.2 MB, free: 41.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.2686, allocations: 1.042 MB / 407.2 MB, free: 40.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007873/0.2694, allocations: 417.7 kB / 407.7 MB, free: 39.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009541/0.2704, allocations: 0.6865 MB / 408.3 MB, free: 39.14 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2704, allocations: 0 / 408.3 MB, free: 39.14 MB / 330.7 MB Notification: Performance of Templates: time 0.04599/0.3164, allocations: 42.53 MB / 450.9 MB, free: 12.71 MB / 346.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9788438049145043]