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.0008827/0.0008827, allocations: 80.92 kB / 22.28 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.000967/0.000967, allocations: 167.8 kB / 25.7 MB, free: 8.414 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.9232/0.9232, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.102e-06/1.102e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.214e-05, allocations: 6.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001525/0.001538, allocations: 1.518 MB / 253.1 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.002764, allocations: 0.8701 MB / 253.9 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.0028, allocations: 0 / 253.9 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.564e-05/0.002876, allocations: 11.86 kB / 253.9 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.00294, allocations: 19.86 kB / 254 MB, free: 4.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.003122, allocations: 59.8 kB / 254 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.003264, allocations: 135.7 kB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.003324, allocations: 11.98 kB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.00363, allocations: 399.2 kB / 254.5 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.00371, allocations: 55.83 kB / 254.6 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.003735, allocations: 11.98 kB / 254.6 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/0.003757, allocations: 12 kB / 254.6 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.003813, allocations: 59.78 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.00387, allocations: 63.67 kB / 254.7 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.004053, allocations: 263.1 kB / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004055, allocations: 0 / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004056, allocations: 0 / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.004059, allocations: 0 / 255 MB, free: 3.77 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.0004109/0.00447, allocations: 0.6187 MB / 255.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.004497, allocations: 15.98 kB / 255.6 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.004543, allocations: 40.84 kB / 255.7 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.004691, allocations: 208.1 kB / 255.9 MB, free: 2.816 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.004705, allocations: 4.375 kB / 255.9 MB, free: 2.812 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.004722, allocations: 12.38 kB / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.004914, allocations: 233.6 kB / 256.1 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-06/0.004919, allocations: 192 / 256.1 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.004932, allocations: 8.375 kB / 256.1 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004937, allocations: 3.938 kB / 256.1 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.005012, allocations: 154.7 kB / 256.3 MB, free: 2.352 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.005252, allocations: 208.2 kB / 256.5 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.005362, allocations: 165.3 kB / 256.7 MB, free: 1.938 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.005435, allocations: 155.7 kB / 256.8 MB, free: 1.758 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-06/0.005439, allocations: 0 / 256.8 MB, free: 1.758 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.005595, allocations: 301.4 kB / 257.1 MB, free: 1.414 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.005596, allocations: 0 / 257.1 MB, free: 1.414 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002922/0.005888, allocations: 0.5214 MB / 257.6 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.005941, allocations: 166.2 kB / 257.8 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.006193, allocations: 367.1 kB / 258.1 MB, free: 248 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.00621, allocations: 29.7 kB / 258.2 MB, free: 212 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.006377, allocations: 93.11 kB / 258.3 MB, free: 116 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.006404, allocations: 35.72 kB / 258.3 MB, free: 80 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.006476, allocations: 77.53 kB / 258.4 MB, free: 15.99 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.006541, allocations: 322.8 kB / 258.7 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.006612, allocations: 150.8 kB / 258.8 MB, free: 15.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.006686, allocations: 156.5 kB / 259 MB, free: 15.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.006829, allocations: 327 kB / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.006832, allocations: 0 / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000217/0.007049, allocations: 355.2 kB / 259.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/0.00713, allocations: 126.7 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007135, allocations: 4 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.007145, allocations: 3.984 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.36e-05/0.007159, allocations: 0 / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.007161, allocations: 0 / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.007242, allocations: 12 kB / 259.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.007277, allocations: 36.03 kB / 259.8 MB, free: 14.34 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.0002097/0.007486, allocations: 353.4 kB / 260.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.007523, allocations: 39.84 kB / 260.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.007592, allocations: 55.08 kB / 260.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007593, allocations: 0 / 260.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.007595, allocations: 0 / 260.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007597, allocations: 0 / 260.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.007978, allocations: 0.5901 MB / 260.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.00798, allocations: 8.062 kB / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-06/0.007983, allocations: 0 / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.007986, allocations: 11.92 kB / 260.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.007999, allocations: 7.984 kB / 260.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008, allocations: 0 / 260.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.008007, allocations: 4 kB / 260.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.008246, allocations: 489 kB / 261.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.00841, allocations: 143.4 kB / 261.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.008442, allocations: 12 kB / 261.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.008509, allocations: 11.98 kB / 261.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.00856, allocations: 15.98 kB / 261.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.008592, allocations: 47.92 kB / 261.6 MB, free: 12.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.008721, allocations: 156.6 kB / 261.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008721, allocations: 0 / 261.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.008869, allocations: 43.94 kB / 261.8 MB, free: 12.2 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 7.53e-05/0.008944, allocations: 96.14 kB / 261.9 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.009228, allocations: 0.5586 MB / 262.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.009232, allocations: 4 kB / 262.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.009399, allocations: 411.5 kB / 262.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.009667, allocations: 133.3 kB / 263 MB, free: 10.83 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.01031, allocations: 0.7332 MB / 263.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.215e-05/0.01037, allocations: 95.27 kB / 263.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.981e-05/0.0104, allocations: 8.719 kB / 263.8 MB, free: 9.926 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.01061, allocations: 151.6 kB / 264 MB, free: 9.777 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01061, allocations: 4 kB / 264 MB, free: 9.773 MB / 250.7 MB Notification: Performance of Templates: time 0.004993/0.0156, allocations: 4.429 MB / 268.4 MB, free: 5.32 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.6152667552232742]