Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.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.000906/0.000906, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009046/0.0009046, allocations: 174.8 kB / 24.91 MB, free: 8.734 MB / 18.57 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 0.9337/0.9337, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.353e-05, allocations: 2.312 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002902/0.002926, allocations: 1.543 MB / 275 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.004769, allocations: 0.8612 MB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.004834, allocations: 4 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.00494, allocations: 11.86 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.774e-05/0.005038, allocations: 27.84 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.005346, allocations: 43.89 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.00557, allocations: 139.7 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.005658, allocations: 19.92 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.006173, allocations: 391.2 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.006307, allocations: 55.81 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.006346, allocations: 12 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.634e-05/0.006372, allocations: 8 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.006454, allocations: 59.78 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.119e-05/0.006545, allocations: 63.72 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.006857, allocations: 267.1 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006861, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006862, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.006867, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006381/0.007506, allocations: 0.6186 MB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.00754, allocations: 8.031 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.007616, allocations: 36.91 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.007843, allocations: 212 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.007867, allocations: 12.38 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.007891, allocations: 8.375 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.008194, allocations: 233.6 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.008202, allocations: 192 / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.008221, allocations: 8.375 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.008227, allocations: 3.938 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.008345, allocations: 146.8 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.008697, allocations: 220.1 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.008852, allocations: 169.4 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.008961, allocations: 155.6 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.008967, allocations: 4 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.009204, allocations: 305.4 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.009206, allocations: 0 / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004382/0.009644, allocations: 0.5175 MB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.009717, allocations: 170.2 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.01011, allocations: 367.1 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.01014, allocations: 29.7 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.01019, allocations: 93.11 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.01022, allocations: 31.84 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/0.01032, allocations: 73.5 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01042, allocations: 322.8 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01053, allocations: 146.8 kB / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.01065, allocations: 176 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.01086, allocations: 315.2 kB / 281.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01086, allocations: 0 / 281.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002936/0.01116, allocations: 347.2 kB / 281.6 MB, free: 8.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/0.01124, allocations: 134.7 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01124, allocations: 4.031 kB / 281.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01125, allocations: 0 / 281.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.996e-05/0.01127, allocations: 0 / 281.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.01128, allocations: 4 kB / 281.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.01139, allocations: 11.98 kB / 281.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.01144, allocations: 36 kB / 281.8 MB, free: 8.387 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.01176, allocations: 349.4 kB / 282.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.01182, allocations: 39.84 kB / 282.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.01192, allocations: 55.08 kB / 282.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01193, allocations: 4 kB / 282.2 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01193, allocations: 7.984 kB / 282.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01194, allocations: 0 / 282.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.01249, allocations: 0.5939 MB / 282.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01249, allocations: 192 / 282.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/0.0125, allocations: 4 kB / 282.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.0125, allocations: 3.938 kB / 282.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.01253, allocations: 15.98 kB / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01253, allocations: 0 / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01253, allocations: 0 / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.01291, allocations: 489 kB / 283.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.01318, allocations: 147.4 kB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.01323, allocations: 8 kB / 283.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.01335, allocations: 12 kB / 283.5 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.01343, allocations: 19.97 kB / 283.5 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.01348, allocations: 39.94 kB / 283.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.0137, allocations: 156.6 kB / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0137, allocations: 0 / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.01394, allocations: 48 kB / 283.7 MB, free: 6.254 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.01406, allocations: 100.2 kB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.01437, allocations: 0.5546 MB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.01437, allocations: 0 / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.01462, allocations: 415.7 kB / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.01511, allocations: 127.6 kB / 284.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.01614, allocations: 0.7379 MB / 285.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.01624, allocations: 103.2 kB / 285.7 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.01629, allocations: 4.781 kB / 285.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.01664, allocations: 159.6 kB / 285.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.313e-06/0.01664, allocations: 0 / 285.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of Templates: time 0.005692/0.02233, allocations: 4.441 MB / 290.3 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.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: 2.5200870209373534]