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.001332/0.001332, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001586/0.001586, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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.525/1.525, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 66.58 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3263, allocations: 49.15 MB / 396.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002669/0.329, allocations: 1.473 MB / 398.3 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3308, allocations: 0.8459 MB / 399.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.3309, allocations: 1.531 kB / 399.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.331, allocations: 7.891 kB / 399.2 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.3311, allocations: 27.48 kB / 399.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.3314, allocations: 54.06 kB / 399.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3316, allocations: 140.3 kB / 399.4 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3317, allocations: 16.28 kB / 399.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.3322, allocations: 395.6 kB / 399.8 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3324, allocations: 67.2 kB / 399.9 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.3324, allocations: 9.656 kB / 399.9 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.819e-05/0.3325, allocations: 14.31 kB / 399.9 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.3326, allocations: 58.73 kB / 399.9 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3327, allocations: 86.59 kB / 400 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.3331, allocations: 360.6 kB / 400.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3331, allocations: 4.453 kB / 400.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3331, allocations: 5.25 kB / 400.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3331, allocations: 0 / 400.4 MB, free: 7.422 MB / 318.1 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.0006968/0.3338, allocations: 0.6585 MB / 401 MB, free: 6.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3339, allocations: 14.02 kB / 401.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.334, allocations: 39.39 kB / 401.1 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3342, allocations: 209.3 kB / 401.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3342, allocations: 17.11 kB / 401.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3343, allocations: 7.531 kB / 401.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3346, allocations: 243.2 kB / 401.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3346, allocations: 1.406 kB / 401.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.3346, allocations: 2.781 kB / 401.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3346, allocations: 4.812 kB / 401.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3348, allocations: 184.9 kB / 401.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.3355, allocations: 384.9 kB / 402.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.3357, allocations: 194.9 kB / 402.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3358, allocations: 183.4 kB / 402.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.3358, allocations: 1.031 kB / 402.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.3363, allocations: 318.6 kB / 402.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.3363, allocations: 3.984 kB / 402.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008351/0.3371, allocations: 0.709 MB / 403.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.3372, allocations: 166.8 kB / 403.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.3379, allocations: 0.5181 MB / 404.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3379, allocations: 37.27 kB / 404.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.338, allocations: 96.41 kB / 404.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.338, allocations: 29.33 kB / 404.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3381, allocations: 82.12 kB / 404.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.3382, allocations: 325.2 kB / 404.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3384, allocations: 174.2 kB / 404.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3386, allocations: 193.1 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.3389, allocations: 355 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3389, allocations: 0 / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006029/0.3395, allocations: 0.4941 MB / 406 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.3396, allocations: 124.6 kB / 406.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3396, allocations: 0.7969 kB / 406.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.3396, allocations: 1.188 kB / 406.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.557e-05/0.3396, allocations: 1.062 kB / 406.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3396, allocations: 1.578 kB / 406.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3398, allocations: 15.02 kB / 406.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.3399, allocations: 39.47 kB / 406.1 MB, free: 2.703 MB / 318.1 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.0003347/0.3402, allocations: 365.5 kB / 406.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.3402, allocations: 39.02 kB / 406.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3403, allocations: 64.98 kB / 406.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.3403, allocations: 1.375 kB / 406.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3404, allocations: 0.5625 kB / 406.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3404, allocations: 0.6562 kB / 406.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3414, allocations: 0.8671 MB / 407.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3414, allocations: 0 / 407.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-06/0.3414, allocations: 1.609 kB / 407.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3414, allocations: 7.938 kB / 407.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.3414, allocations: 12.7 kB / 407.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3414, allocations: 4.609 kB / 407.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3414, allocations: 5.125 kB / 407.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.3421, allocations: 0.6518 MB / 408.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.3425, allocations: 205.1 kB / 408.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.3425, allocations: 11.31 kB / 408.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3427, allocations: 12.02 kB / 408.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.3428, allocations: 24.33 kB / 408.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.3429, allocations: 44.59 kB / 408.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005562/0.3434, allocations: 388.3 kB / 408.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3434, allocations: 4 kB / 408.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.3437, allocations: 45.19 kB / 408.9 MB, free: 0.8281 MB / 318.1 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.000129/0.3439, allocations: 112.4 kB / 409 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005374/0.3444, allocations: 0.6088 MB / 409.6 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3444, allocations: 0 / 409.6 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.3448, allocations: 429.4 kB / 410 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.3455, allocations: 119.7 kB / 410.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3469, allocations: 0.7772 MB / 410.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3473, allocations: 196.9 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.3473, allocations: 14.41 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.3474, allocations: 12.84 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3474, allocations: 0 / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Templates: time 0.01036/0.3577, allocations: 4.997 MB / 416.1 MB, free: 12.78 MB / 334.1 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.776556797325611]