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.001689/0.001689, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.001865/0.001865, allocations: 164.2 kB / 25.02 MB, free: 8.887 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 1.631/1.631, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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 2.244e-06/2.244e-06, allocations: 3.938 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.95e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00311/0.00314, allocations: 1.482 MB / 251.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.005504, allocations: 0.848 MB / 252.7 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.00559, allocations: 4 kB / 252.7 MB, free: 5.484 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.005714, allocations: 11.86 kB / 252.7 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.005824, allocations: 19.8 kB / 252.7 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.006173, allocations: 55.8 kB / 252.8 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.006445, allocations: 139.7 kB / 252.9 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.006574, allocations: 19.98 kB / 252.9 MB, free: 5.242 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/0.007219, allocations: 419.2 kB / 253.3 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.00738, allocations: 55.83 kB / 253.4 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.007429, allocations: 8 kB / 253.4 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.007467, allocations: 12 kB / 253.4 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.007721, allocations: 71.64 kB / 253.5 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.007836, allocations: 51.8 kB / 253.5 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.008333, allocations: 358.8 kB / 253.9 MB, free: 4.281 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.00834, allocations: 4 kB / 253.9 MB, free: 4.277 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.008341, allocations: 0 / 253.9 MB, free: 4.277 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.00835, allocations: 4 kB / 253.9 MB, free: 4.273 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.001069/0.009418, allocations: 0.6513 MB / 254.5 MB, free: 3.566 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.009463, allocations: 11.98 kB / 254.6 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.009585, allocations: 44.7 kB / 254.6 MB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.009905, allocations: 220.1 kB / 254.8 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.009931, allocations: 8.375 kB / 254.8 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.00996, allocations: 8.375 kB / 254.8 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.0104, allocations: 245 kB / 255.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01041, allocations: 192 / 255.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.01043, allocations: 4.375 kB / 255.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.01044, allocations: 7.875 kB / 255.1 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.01069, allocations: 182.8 kB / 255.3 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007139/0.01141, allocations: 384.3 kB / 255.6 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.01169, allocations: 197.3 kB / 255.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.01193, allocations: 175.8 kB / 256 MB, free: 1.938 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.01196, allocations: 15.88 kB / 256 MB, free: 1.922 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.01248, allocations: 317.5 kB / 256.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.01248, allocations: 0 / 256.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001158/0.01364, allocations: 0.7088 MB / 257 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.01377, allocations: 170.2 kB / 257.2 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.01459, allocations: 0.5207 MB / 257.7 MB, free: 40 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.01463, allocations: 29.7 kB / 257.8 MB, free: 4 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01473, allocations: 97.12 kB / 257.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.01479, allocations: 31.78 kB / 257.9 MB, free: 15.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.01493, allocations: 85.5 kB / 258 MB, free: 15.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01511, allocations: 318.8 kB / 258.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.01535, allocations: 178.7 kB / 258.5 MB, free: 15.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.01559, allocations: 200.5 kB / 258.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.01604, allocations: 351.3 kB / 259 MB, free: 14.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01604, allocations: 4 kB / 259 MB, free: 14.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007322/0.01677, allocations: 0.503 MB / 259.5 MB, free: 14.08 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.0169, allocations: 130.8 kB / 259.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01691, allocations: 0 / 259.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.01693, allocations: 0 / 259.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.998e-05/0.01695, allocations: 128 / 259.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.01696, allocations: 8 kB / 259.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.01711, allocations: 11.95 kB / 259.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.01717, allocations: 43.98 kB / 259.7 MB, free: 13.86 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.0004084/0.01758, allocations: 362.5 kB / 260 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.01767, allocations: 59.7 kB / 260.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.0178, allocations: 59.09 kB / 260.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.0178, allocations: 0 / 260.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01781, allocations: 3.938 kB / 260.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01781, allocations: 0 / 260.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.01912, allocations: 0.8665 MB / 261 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01912, allocations: 0 / 261 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.01913, allocations: 3.938 kB / 261 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01914, allocations: 4 kB / 261 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.01917, allocations: 15.98 kB / 261.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01917, allocations: 4 kB / 261.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01917, allocations: 0 / 261.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.02007, allocations: 0.6609 MB / 261.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.02046, allocations: 205.3 kB / 261.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.02053, allocations: 12 kB / 261.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.02067, allocations: 11.98 kB / 261.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.02081, allocations: 27.97 kB / 262 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.02087, allocations: 43.92 kB / 262 MB, free: 11.36 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005595/0.02143, allocations: 386.9 kB / 262.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02143, allocations: 0 / 262.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.02176, allocations: 48 kB / 262.4 MB, free: 10.94 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.0001845/0.02194, allocations: 123.1 kB / 262.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.02274, allocations: 0.6085 MB / 263.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.02275, allocations: 4 kB / 263.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.02318, allocations: 424.4 kB / 263.6 MB, free: 9.605 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.02388, allocations: 135.2 kB / 263.7 MB, free: 9.477 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.02526, allocations: 0.793 MB / 264.5 MB, free: 8.629 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.02555, allocations: 205.5 kB / 264.7 MB, free: 8.41 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.02562, allocations: 4.734 kB / 264.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.02566, allocations: 16.5 kB / 264.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02566, allocations: 0 / 264.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of Templates: time 0.01022/0.03589, allocations: 4.929 MB / 269.7 MB, free: 3.422 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7175610709236935]