Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008153/0.0008153, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001898, 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.0006842/0.0006842, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000878/0.001562, 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.8592/0.8592, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1403/0.9995, allocations: 49.5 MB / 220.7 MB, free: 1.352 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.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.493e-05, allocations: 5.406 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001753/0.001768, allocations: 1.562 MB / 223.6 MB, free: 14.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.003124, allocations: 0.9129 MB / 224.5 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.003175, allocations: 0 / 224.5 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.003239, allocations: 3.938 kB / 224.5 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.003292, allocations: 31.72 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.003455, allocations: 59.81 kB / 224.6 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.003609, allocations: 135.7 kB / 224.7 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.003687, allocations: 19.97 kB / 224.7 MB, free: 13.31 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.004033, allocations: 399.2 kB / 225.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.00413, allocations: 59.81 kB / 225.2 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.00416, allocations: 8 kB / 225.2 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.42e-05/0.004184, allocations: 12 kB / 225.2 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.004244, allocations: 63.78 kB / 225.2 MB, free: 12.78 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.004298, allocations: 47.8 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.00449, allocations: 243.1 kB / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.0045, allocations: 8 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004501, allocations: 0 / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.004509, allocations: 0 / 225.5 MB, free: 12.48 MB / 234.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.0005372/0.005046, allocations: 0.6613 MB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.649e-05/0.005073, allocations: 8.031 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.005127, allocations: 36.91 kB / 226.2 MB, free: 11.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.005299, allocations: 216 kB / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.005316, allocations: 12.31 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.005335, allocations: 8.375 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.005567, allocations: 229.7 kB / 226.7 MB, free: 11.22 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005574, allocations: 192 / 226.7 MB, free: 11.22 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.005588, allocations: 8.375 kB / 226.7 MB, free: 11.21 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.005593, allocations: 7.938 kB / 226.7 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.005678, allocations: 154.8 kB / 226.9 MB, free: 11.03 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.005948, allocations: 216.2 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.006065, allocations: 177.3 kB / 227.2 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.006145, allocations: 155.6 kB / 227.4 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.006152, allocations: 4 kB / 227.4 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.006342, allocations: 313.4 kB / 227.7 MB, free: 10.05 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.006343, allocations: 0 / 227.7 MB, free: 10.05 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003488/0.006692, allocations: 0.5282 MB / 228.2 MB, free: 9.449 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.006757, allocations: 178.2 kB / 228.4 MB, free: 9.238 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.007034, allocations: 363.1 kB / 228.8 MB, free: 8.871 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.007054, allocations: 29.7 kB / 228.8 MB, free: 8.836 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.007094, allocations: 93.11 kB / 228.9 MB, free: 8.742 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.007123, allocations: 27.78 kB / 228.9 MB, free: 8.715 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.007191, allocations: 77.48 kB / 229 MB, free: 8.633 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.007266, allocations: 326.8 kB / 229.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.007347, allocations: 154.8 kB / 229.5 MB, free: 8.129 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.007429, allocations: 168.5 kB / 229.6 MB, free: 7.934 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.007594, allocations: 327 kB / 229.9 MB, free: 7.559 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007596, allocations: 4 kB / 229.9 MB, free: 7.555 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002159/0.007812, allocations: 363.2 kB / 230.3 MB, free: 7.145 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.00788, allocations: 130.7 kB / 230.4 MB, free: 6.992 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007885, allocations: 3.984 kB / 230.4 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.007893, allocations: 0 / 230.4 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.635e-05/0.00791, allocations: 4.031 kB / 230.4 MB, free: 6.984 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.007913, allocations: 4 kB / 230.4 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.007995, allocations: 11.98 kB / 230.5 MB, free: 6.969 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.008029, allocations: 40.05 kB / 230.5 MB, free: 6.93 MB / 234.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.000216/0.008245, allocations: 345.2 kB / 230.8 MB, free: 6.559 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.008279, allocations: 35.91 kB / 230.9 MB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.008348, allocations: 55.09 kB / 230.9 MB, free: 6.473 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.008351, allocations: 3.984 kB / 230.9 MB, free: 6.469 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008353, allocations: 0 / 230.9 MB, free: 6.469 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008355, allocations: 0 / 230.9 MB, free: 6.469 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.008784, allocations: 0.6128 MB / 231.5 MB, free: 5.785 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008785, allocations: 0 / 231.5 MB, free: 5.785 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.00879, allocations: 0 / 231.5 MB, free: 5.785 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.008956, allocations: 143.4 kB / 231.7 MB, free: 5.645 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.008958, allocations: 0 / 231.7 MB, free: 5.645 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.008972, allocations: 7.984 kB / 231.7 MB, free: 5.637 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008974, allocations: 4.188 kB / 231.7 MB, free: 5.633 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008976, allocations: 3.938 kB / 231.7 MB, free: 5.629 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.009232, allocations: 0.4971 MB / 232.2 MB, free: 5.066 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.009263, allocations: 12 kB / 232.2 MB, free: 5.055 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.00934, allocations: 12 kB / 232.2 MB, free: 5.043 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.009393, allocations: 19.97 kB / 232.2 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.009425, allocations: 47.92 kB / 232.3 MB, free: 4.977 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.009571, allocations: 148.6 kB / 232.4 MB, free: 4.828 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009571, allocations: 0 / 232.4 MB, free: 4.828 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.009732, allocations: 48 kB / 232.5 MB, free: 4.781 MB / 234.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 7.582e-05/0.009808, allocations: 96.14 kB / 232.6 MB, free: 4.68 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.01011, allocations: 0.578 MB / 233.1 MB, free: 4 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.01012, allocations: 8.094 kB / 233.1 MB, free: 3.992 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.0103, allocations: 412.1 kB / 233.5 MB, free: 3.512 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.0107, allocations: 397.9 kB / 233.9 MB, free: 3.074 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.01158, allocations: 0.7333 MB / 234.7 MB, free: 2.285 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.01165, allocations: 103.2 kB / 234.8 MB, free: 2.164 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.853e-05/0.01169, allocations: 4.734 kB / 234.8 MB, free: 2.152 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.01191, allocations: 155.7 kB / 234.9 MB, free: 2 MB / 234.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01191, allocations: 0 / 234.9 MB, free: 2 MB / 234.7 MB Notification: Performance of Templates: time 0.005328/0.01724, allocations: 4.445 MB / 239.4 MB, free: 13.52 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.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: 2.477858674712479]