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.001178/0.001178, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002668, allocations: 445.7 kB / 10.37 MB, free: 328 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.001041/0.001041, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002331, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9041/0.9041, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1537/1.058, allocations: 49.48 MB / 220.5 MB, free: 1.453 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.453e-06/1.453e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.921e-05, allocations: 13.34 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002687/0.002706, allocations: 1.558 MB / 223.4 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.004655, allocations: 0.9091 MB / 224.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.004715, allocations: 0 / 224.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.814e-05/0.004803, allocations: 7.922 kB / 224.3 MB, free: 13.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.004876, allocations: 27.8 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.00507, allocations: 51.83 kB / 224.4 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.005293, allocations: 147.6 kB / 224.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.005383, allocations: 16 kB / 224.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.005872, allocations: 403.2 kB / 224.9 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.005998, allocations: 55.83 kB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.006034, allocations: 8 kB / 225 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.095e-05/0.006065, allocations: 12 kB / 225 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.006141, allocations: 63.72 kB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.006222, allocations: 47.81 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.006492, allocations: 255.1 kB / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.006508, allocations: 0 / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006509, allocations: 0 / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.006525, allocations: 0 / 225.4 MB, free: 12.6 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.0007935/0.007319, allocations: 0.6613 MB / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.007349, allocations: 8.031 kB / 226 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.007418, allocations: 32.91 kB / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.00764, allocations: 216 kB / 226.3 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.007661, allocations: 4.375 kB / 226.3 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.007685, allocations: 12.38 kB / 226.3 MB, free: 11.6 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.008028, allocations: 237.6 kB / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.008037, allocations: 192 / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.008055, allocations: 4.375 kB / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.008064, allocations: 7.938 kB / 226.5 MB, free: 11.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.008195, allocations: 150.8 kB / 226.7 MB, free: 11.15 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.008552, allocations: 216.1 kB / 226.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.008705, allocations: 177.3 kB / 227.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.008817, allocations: 159.7 kB / 227.2 MB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.008823, allocations: 7.938 kB / 227.2 MB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.009058, allocations: 313.5 kB / 227.6 MB, free: 10.17 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.009059, allocations: 0 / 227.6 MB, free: 10.17 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004505/0.00951, allocations: 0.5254 MB / 228.1 MB, free: 9.562 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.009553, allocations: 89.05 kB / 228.2 MB, free: 9.457 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.009943, allocations: 359.1 kB / 228.5 MB, free: 9.094 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.00997, allocations: 37.69 kB / 228.6 MB, free: 9.051 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.01001, allocations: 89.12 kB / 228.6 MB, free: 8.961 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.01005, allocations: 31.77 kB / 228.7 MB, free: 8.93 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.01014, allocations: 73.5 kB / 228.7 MB, free: 8.852 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.01023, allocations: 330.8 kB / 229.1 MB, free: 8.52 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.01034, allocations: 150.8 kB / 229.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.01071, allocations: 168.5 kB / 229.4 MB, free: 8.152 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.01093, allocations: 333.5 kB / 229.7 MB, free: 7.773 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01093, allocations: 0 / 229.7 MB, free: 7.773 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002867/0.01122, allocations: 363.2 kB / 230.1 MB, free: 7.363 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.0113, allocations: 126.7 kB / 230.2 MB, free: 7.215 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.0113, allocations: 80 / 230.2 MB, free: 7.215 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01131, allocations: 8.031 kB / 230.2 MB, free: 7.207 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.205e-05/0.01133, allocations: 7.984 kB / 230.2 MB, free: 7.199 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.01134, allocations: 3.984 kB / 230.2 MB, free: 7.195 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.01144, allocations: 8 kB / 230.2 MB, free: 7.188 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.01149, allocations: 36 kB / 230.2 MB, free: 7.152 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.0002838/0.01177, allocations: 341.3 kB / 230.6 MB, free: 6.781 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.01183, allocations: 39.84 kB / 230.6 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.01192, allocations: 51.09 kB / 230.7 MB, free: 6.695 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01193, allocations: 7.984 kB / 230.7 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01193, allocations: 0 / 230.7 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01193, allocations: 4 kB / 230.7 MB, free: 6.684 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.01245, allocations: 0.6056 MB / 231.3 MB, free: 6.004 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01246, allocations: 112 / 231.3 MB, free: 6.004 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-06/0.01246, allocations: 7.938 kB / 231.3 MB, free: 5.996 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.0127, allocations: 131.5 kB / 231.4 MB, free: 5.867 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01271, allocations: 0 / 231.4 MB, free: 5.867 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.01273, allocations: 7.984 kB / 231.4 MB, free: 5.859 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01273, allocations: 0 / 231.4 MB, free: 5.859 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01273, allocations: 192 / 231.4 MB, free: 5.859 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.0131, allocations: 0.5029 MB / 231.9 MB, free: 5.293 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.01315, allocations: 20 kB / 231.9 MB, free: 5.273 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.01326, allocations: 8 kB / 232 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.01333, allocations: 19.97 kB / 232 MB, free: 5.246 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.01338, allocations: 39.94 kB / 232 MB, free: 5.207 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.01358, allocations: 156.6 kB / 232.2 MB, free: 5.051 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01358, allocations: 0 / 232.2 MB, free: 5.051 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01384, allocations: 40 kB / 232.2 MB, free: 5.012 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 0.0001054/0.01394, allocations: 104.1 kB / 232.3 MB, free: 4.902 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.01435, allocations: 0.578 MB / 232.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.01436, allocations: 4 kB / 232.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.01461, allocations: 416 kB / 233.3 MB, free: 3.734 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.01507, allocations: 146.7 kB / 233.4 MB, free: 3.598 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.01618, allocations: 0.745 MB / 234.2 MB, free: 2.797 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.65e-05/0.01628, allocations: 95.27 kB / 234.3 MB, free: 2.684 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.329e-05/0.01631, allocations: 12.7 kB / 234.3 MB, free: 2.668 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.01663, allocations: 151.6 kB / 234.4 MB, free: 2.52 MB / 234.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01663, allocations: 0 / 234.4 MB, free: 2.52 MB / 234.7 MB Notification: Performance of Templates: time 0.006334/0.02296, allocations: 4.436 MB / 238.9 MB, free: 14.05 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5691019585356116]