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.001159/0.001159, allocations: 75.77 kB / 22.46 MB, free: 2.082 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.0009649/0.0009649, allocations: 165.3 kB / 25.75 MB, free: 8.945 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.9707/0.9707, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.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.843e-06/1.843e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.858e-05, allocations: 5.266 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002184/0.002212, allocations: 1.515 MB / 252.6 MB, free: 6.273 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.004257, allocations: 0.8623 MB / 253.5 MB, free: 5.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.004336, allocations: 4 kB / 253.5 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.004449, allocations: 11.86 kB / 253.5 MB, free: 5.387 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.004544, allocations: 23.78 kB / 253.5 MB, free: 5.363 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.004971, allocations: 43.89 kB / 253.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.005198, allocations: 139.7 kB / 253.7 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.00531, allocations: 15.98 kB / 253.7 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.005725, allocations: 423.2 kB / 254.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.005837, allocations: 59.83 kB / 254.2 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.00587, allocations: 8 kB / 254.2 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.005896, allocations: 12 kB / 254.2 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.005979, allocations: 71.69 kB / 254.3 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.006067, allocations: 59.73 kB / 254.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.006347, allocations: 267 kB / 254.6 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.00635, allocations: 0 / 254.6 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006351, allocations: 0 / 254.6 MB, free: 4.285 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.006358, allocations: 4 kB / 254.6 MB, free: 4.281 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.0007906/0.007149, allocations: 0.7708 MB / 255.4 MB, free: 3.449 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.007213, allocations: 19.98 kB / 255.4 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.007308, allocations: 44.7 kB / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.007602, allocations: 226.8 kB / 255.7 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.00763, allocations: 8.375 kB / 255.7 MB, free: 3.129 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.007651, allocations: 8.375 kB / 255.7 MB, free: 3.121 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.007974, allocations: 237.7 kB / 255.9 MB, free: 2.855 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007984, allocations: 4.172 kB / 255.9 MB, free: 2.852 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.008002, allocations: 8.375 kB / 255.9 MB, free: 2.844 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.008014, allocations: 7.938 kB / 255.9 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.008131, allocations: 166.7 kB / 256.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.008714, allocations: 0.4955 MB / 256.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.008886, allocations: 193.8 kB / 256.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.009002, allocations: 170.6 kB / 256.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.009011, allocations: 11.88 kB / 257 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.009239, allocations: 319.1 kB / 257.3 MB, free: 1.316 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.00924, allocations: 0 / 257.3 MB, free: 1.316 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006498/0.00989, allocations: 0.6736 MB / 257.9 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.009992, allocations: 170.2 kB / 258.1 MB, free: 368 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.0106, allocations: 0.631 MB / 258.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.01063, allocations: 33.7 kB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.01069, allocations: 143.9 kB / 258.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.01072, allocations: 23.86 kB / 258.9 MB, free: 15.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.01081, allocations: 87.16 kB / 259 MB, free: 15.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01095, allocations: 0.4962 MB / 259.5 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.01106, allocations: 158.8 kB / 259.7 MB, free: 14.72 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.01139, allocations: 190.1 kB / 259.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.0116, allocations: 348.7 kB / 260.2 MB, free: 14.11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.0116, allocations: 0 / 260.2 MB, free: 14.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003715/0.01197, allocations: 487 kB / 260.7 MB, free: 13.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.01204, allocations: 130.8 kB / 260.8 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01205, allocations: 0 / 260.8 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01207, allocations: 0 / 260.8 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.018e-05/0.01209, allocations: 4 kB / 260.8 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.01209, allocations: 0 / 260.8 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.01219, allocations: 15.94 kB / 260.8 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.01223, allocations: 44.03 kB / 260.9 MB, free: 13.36 MB / 250.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.0002366/0.01247, allocations: 397.2 kB / 261.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.01251, allocations: 51.7 kB / 261.3 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.01259, allocations: 55.08 kB / 261.4 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01259, allocations: 4 kB / 261.4 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01259, allocations: 3.938 kB / 261.4 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.0126, allocations: 0 / 261.4 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.01334, allocations: 0.94 MB / 262.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.01335, allocations: 7.984 kB / 262.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-06/0.01336, allocations: 0 / 262.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01336, allocations: 7.938 kB / 262.3 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.01338, allocations: 8 kB / 262.3 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01338, allocations: 4 kB / 262.3 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01338, allocations: 0 / 262.3 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.01384, allocations: 0.6925 MB / 263 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.01406, allocations: 189.3 kB / 263.2 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.0141, allocations: 8 kB / 263.2 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.01418, allocations: 15.98 kB / 263.2 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.01428, allocations: 23.97 kB / 263.3 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.01431, allocations: 44.12 kB / 263.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003621/0.01467, allocations: 430.7 kB / 263.7 MB, free: 10.31 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01467, allocations: 4 kB / 263.7 MB, free: 10.31 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.01489, allocations: 44 kB / 263.8 MB, free: 10.27 MB / 250.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.0001088/0.01499, allocations: 126.9 kB / 263.9 MB, free: 10.13 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.01543, allocations: 0.5887 MB / 264.5 MB, free: 9.438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01543, allocations: 0 / 264.5 MB, free: 9.438 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.01567, allocations: 420.1 kB / 264.9 MB, free: 8.949 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.01609, allocations: 145.2 kB / 265 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.01693, allocations: 0.7516 MB / 265.8 MB, free: 8.016 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.377e-05/0.01702, allocations: 99.25 kB / 265.9 MB, free: 7.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.01706, allocations: 4.734 kB / 265.9 MB, free: 7.891 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.01709, allocations: 16.5 kB / 265.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01709, allocations: 0 / 265.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of Templates: time 0.006536/0.02363, allocations: 4.945 MB / 270.8 MB, free: 2.895 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 -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.726135180098936]