Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.001327/0.001327, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001081/0.001081, allocations: 166.5 kB / 25.7 MB, free: 8.406 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.8493/0.8493, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.[0-9,]+.|smpmE.idq_dr.[0-9,]+.|smpmE.idq_rr.[0-9,]+.|smpmE.idq_sr.[0-9,]+.|smpmM.is.[0-9,]+.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.[0-9,]+.|smpmE.idq_dr.[0-9,]+.|smpmE.idq_rr.[0-9,]+.|smpmE.idq_sr.[0-9,]+.|smpmM.is.[0-9,]+.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.557e-05, allocations: 10.25 kB / 251.6 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.02495/0.02497, allocations: 20.67 MB / 272.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.04087, allocations: 6.626 MB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/0.04436, allocations: 154.9 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.04757, allocations: 1.521 MB / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.05232, allocations: 2.161 MB / 282.7 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.05454, allocations: 1.325 MB / 284 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005645/0.06019, allocations: 6.793 MB / 290.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.06332, allocations: 3.052 MB / 293.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005111/0.06843, allocations: 4.87 MB / 298.7 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.07208, allocations: 3.215 MB / 301.9 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008872/0.07297, allocations: 0.7969 MB / 302.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.07446, allocations: 1.077 MB / 303.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.07569, allocations: 2.053 MB / 305.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.07754, allocations: 2.391 MB / 308.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.08184, allocations: 5.599 MB / 313.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.08184, allocations: 8 kB / 313.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.08185, allocations: 0 / 313.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.005e-05/0.08189, allocations: 0 / 313.9 MB, free: 8.613 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.006723/0.08861, allocations: 6.611 MB / 320.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.08865, allocations: 11.98 kB / 320.5 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/0.09135, allocations: 1.464 MB / 321.9 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.09402, allocations: 2.236 MB / 324.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.09423, allocations: 407.1 kB / 324.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004922/0.09472, allocations: 0.5237 MB / 325.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/0.09862, allocations: 4.047 MB / 329.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.181e-05/0.0987, allocations: 11.94 kB / 329.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.09902, allocations: 216 kB / 329.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.09919, allocations: 266.5 kB / 329.6 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.1014, allocations: 1.601 MB / 331.2 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.1179, allocations: 14.18 MB / 345.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/0.1215, allocations: 2.321 MB / 347.7 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.1228, allocations: 0.8279 MB / 348.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005669/0.1284, allocations: 2.869 MB / 351.4 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1285, allocations: 64.55 kB / 351.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=219): time 3.476e-06/0.1285, allocations: 0 / 351.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=239): time 0.1679/0.2964, allocations: 4.619 MB / 356.1 MB, free: 73.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2964, allocations: 77.41 kB / 356.2 MB, free: 73.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.298, allocations: 2.04 MB / 358.2 MB, free: 73.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.2981, allocations: 66.95 kB / 358.3 MB, free: 73.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.2989, allocations: 2.168 MB / 360.5 MB, free: 72.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.2992, allocations: 0.8553 MB / 361.3 MB, free: 72.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004559/0.2997, allocations: 0.534 MB / 361.9 MB, free: 72.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.2997, allocations: 308.6 kB / 362.2 MB, free: 71.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.3001, allocations: 349.1 kB / 362.5 MB, free: 71.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.3008, allocations: 1.358 MB / 363.9 MB, free: 70.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.3021, allocations: 2.026 MB / 365.9 MB, free: 69.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3021, allocations: 11.81 kB / 365.9 MB, free: 69.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.0022/0.3043, allocations: 2.033 MB / 367.9 MB, free: 69.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3044, allocations: 17.56 kB / 367.9 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.3044, allocations: 31.94 kB / 368 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.3049, allocations: 324.6 kB / 368.3 MB, free: 69.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3062, allocations: 0.6811 MB / 369 MB, free: 69.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.3091, allocations: 7.314 MB / 376.3 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.3102, allocations: 123 kB / 376.4 MB, free: 62.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.3103, allocations: 111.4 kB / 376.5 MB, free: 62.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (379): * Single equations (assignments): 372 * 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,12,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.0009154/0.3112, allocations: 315 kB / 376.8 MB, free: 62.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.3116, allocations: 273.2 kB / 377.1 MB, free: 62.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.3134, allocations: 1.662 MB / 378.7 MB, free: 62.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.3134, allocations: 21.94 kB / 378.8 MB, free: 62.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3134, allocations: 10.47 kB / 378.8 MB, free: 62.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.3134, allocations: 11.67 kB / 378.8 MB, free: 62.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00468/0.3181, allocations: 4.589 MB / 383.4 MB, free: 61.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3181, allocations: 9.891 kB / 383.4 MB, free: 61.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.3189, allocations: 360.5 kB / 383.7 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009007/0.3198, allocations: 0.5532 MB / 384.3 MB, free: 61.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.3199, allocations: 59.3 kB / 384.4 MB, free: 61.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/0.3243, allocations: 12.01 MB / 396.4 MB, free: 49.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3243, allocations: 11.5 kB / 396.4 MB, free: 49.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.3265, allocations: 2.272 MB / 398.6 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.327, allocations: 382.6 kB / 399 MB, free: 47.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.3273, allocations: 56.69 kB / 399.1 MB, free: 47.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.3279, allocations: 88.89 kB / 399.2 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.3281, allocations: 187.4 kB / 399.3 MB, free: 47.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.3281, allocations: 54.55 kB / 399.4 MB, free: 47.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007184/0.3289, allocations: 1.027 MB / 400.4 MB, free: 46.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3289, allocations: 0 / 400.4 MB, free: 46.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002257/0.3311, allocations: 0.9766 MB / 401.4 MB, free: 45.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],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 (200): * Single equations (assignments): 192 * 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,12,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.3315, allocations: 228.7 kB / 401.6 MB, free: 45.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.3333, allocations: 2.11 MB / 403.7 MB, free: 43.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-05/0.3333, allocations: 43.84 kB / 403.8 MB, free: 43.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.3346, allocations: 1.824 MB / 405.6 MB, free: 41.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.3362, allocations: 0.8156 MB / 406.4 MB, free: 41.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/0.3444, allocations: 8.264 MB / 414.7 MB, free: 32.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.3452, allocations: 1.078 MB / 415.8 MB, free: 31.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009788/0.3461, allocations: 456.3 kB / 416.2 MB, free: 31.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.3473, allocations: 0.7724 MB / 417 MB, free: 30.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3473, allocations: 0 / 417 MB, free: 30.54 MB / 330.7 MB Notification: Performance of Templates: time 0.05452/0.4018, allocations: 46.79 MB / 463.8 MB, free: 15.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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/SMPM_Inverter/SMPM_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: 4.312043827027082]