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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.844/1.844, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 47.92 kB / 347.6 MB, free: 9.586 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3859, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003187/0.3891, allocations: 1.523 MB / 398.3 MB, free: 8.445 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002208/0.3913, allocations: 0.905 MB / 399.2 MB, free: 7.836 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.3914, allocations: 4.969 kB / 399.2 MB, free: 7.832 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.3915, allocations: 8.516 kB / 399.2 MB, free: 7.828 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3916, allocations: 27.98 kB / 399.3 MB, free: 7.809 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.392, allocations: 52.75 kB / 399.3 MB, free: 7.777 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3922, allocations: 132.6 kB / 399.5 MB, free: 7.715 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3924, allocations: 20.17 kB / 399.5 MB, free: 7.703 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007733/0.3931, allocations: 396.5 kB / 399.9 MB, free: 7.656 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3933, allocations: 71.33 kB / 399.9 MB, free: 7.625 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.3933, allocations: 10.66 kB / 399.9 MB, free: 7.625 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.218e-05/0.3934, allocations: 12.84 kB / 400 MB, free: 7.621 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3935, allocations: 62.31 kB / 400 MB, free: 7.602 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3936, allocations: 123.3 kB / 400.1 MB, free: 7.508 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.3942, allocations: 359.7 kB / 400.5 MB, free: 7.395 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3942, allocations: 0 / 400.5 MB, free: 7.395 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.994e-06/0.3942, allocations: 0 / 400.5 MB, free: 7.395 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 8.155e-06/0.3942, allocations: 1.594 kB / 400.5 MB, free: 7.395 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.0008061/0.3951, allocations: 0.6577 MB / 401.1 MB, free: 6.812 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3951, allocations: 14.05 kB / 401.2 MB, free: 6.809 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.3952, allocations: 38.3 kB / 401.2 MB, free: 6.789 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3955, allocations: 210 kB / 401.4 MB, free: 6.598 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3955, allocations: 5.156 kB / 401.4 MB, free: 6.598 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3955, allocations: 15.69 kB / 401.4 MB, free: 6.59 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.3959, allocations: 128.2 kB / 401.5 MB, free: 6.531 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3959, allocations: 0 / 401.5 MB, free: 6.531 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.3959, allocations: 4.406 kB / 401.5 MB, free: 6.531 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3959, allocations: 1.281 kB / 401.5 MB, free: 6.531 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3961, allocations: 60.59 kB / 401.6 MB, free: 6.512 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.3969, allocations: 426.4 kB / 402 MB, free: 6.191 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.3971, allocations: 81.47 kB / 402.1 MB, free: 6.145 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3973, allocations: 58.38 kB / 402.2 MB, free: 6.121 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3973, allocations: 7.922 kB / 402.2 MB, free: 6.113 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.3976, allocations: 198.8 kB / 402.4 MB, free: 5.98 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.3976, allocations: 0 / 402.4 MB, free: 5.98 MB / 318.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0009436/0.3986, allocations: 476.6 kB / 402.8 MB, free: 5.719 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.3986, allocations: 170.4 kB / 403 MB, free: 5.523 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/0.3994, allocations: 0.5176 MB / 403.5 MB, free: 5.234 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3995, allocations: 33.11 kB / 403.5 MB, free: 5.199 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.3995, allocations: 99.12 kB / 403.6 MB, free: 5.109 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3996, allocations: 27.03 kB / 403.7 MB, free: 5.09 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3997, allocations: 77.58 kB / 403.7 MB, free: 5.047 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 8.015e-05/0.3998, allocations: 330 kB / 404.1 MB, free: 4.723 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3999, allocations: 54.55 kB / 404.1 MB, free: 4.707 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.4, allocations: 75.02 kB / 404.2 MB, free: 4.668 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.4004, allocations: 344.3 kB / 404.5 MB, free: 4.352 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4004, allocations: 0 / 404.5 MB, free: 4.352 MB / 318.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005973/0.401, allocations: 375.6 kB / 404.9 MB, free: 4.129 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.4011, allocations: 127.6 kB / 405 MB, free: 3.996 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.4011, allocations: 1.969 kB / 405 MB, free: 3.996 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.4011, allocations: 0 / 405 MB, free: 3.996 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.942e-05/0.4011, allocations: 10.56 kB / 405 MB, free: 3.988 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4011, allocations: 128 / 405 MB, free: 3.988 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.4013, allocations: 16.47 kB / 405 MB, free: 3.984 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.4014, allocations: 37.95 kB / 405.1 MB, free: 3.984 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.0003834/0.4018, allocations: 360.3 kB / 405.4 MB, free: 3.684 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.4018, allocations: 39.55 kB / 405.5 MB, free: 3.664 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.402, allocations: 66.38 kB / 405.5 MB, free: 3.625 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.402, allocations: 0 / 405.5 MB, free: 3.625 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.402, allocations: 1.188 kB / 405.5 MB, free: 3.625 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.402, allocations: 4.75 kB / 405.5 MB, free: 3.621 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.4031, allocations: 0.7985 MB / 406.3 MB, free: 3.059 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4031, allocations: 0 / 406.3 MB, free: 3.059 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-06/0.4031, allocations: 0.75 kB / 406.3 MB, free: 3.059 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4031, allocations: 1.312 kB / 406.3 MB, free: 3.059 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.4031, allocations: 12.39 kB / 406.4 MB, free: 3.059 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4031, allocations: 0.7969 kB / 406.4 MB, free: 3.059 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4031, allocations: 3.938 kB / 406.4 MB, free: 3.055 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.4038, allocations: 0.5305 MB / 406.9 MB, free: 2.699 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.4043, allocations: 202.6 kB / 407.1 MB, free: 2.586 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.4043, allocations: 12.05 kB / 407.1 MB, free: 2.582 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4045, allocations: 9.844 kB / 407.1 MB, free: 2.582 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4046, allocations: 30.28 kB / 407.1 MB, free: 2.57 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.4047, allocations: 47.36 kB / 407.2 MB, free: 2.562 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 0.0005321/0.4052, allocations: 387.8 kB / 407.6 MB, free: 2.355 MB / 318.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.4052, allocations: 0 / 407.6 MB, free: 2.355 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0003191/0.4055, allocations: 45 kB / 407.6 MB, free: 2.352 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.0001395/0.4057, allocations: 113.5 kB / 407.7 MB, free: 2.258 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.000526/0.4062, allocations: 376.3 kB / 408.1 MB, free: 1.953 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4062, allocations: 0 / 408.1 MB, free: 1.953 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.4064, allocations: 304.2 kB / 408.4 MB, free: 1.672 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.4071, allocations: 120.2 kB / 408.5 MB, free: 1.641 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4085, allocations: 0.6576 MB / 409.2 MB, free: 1.25 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.4089, allocations: 0.8078 MB / 410 MB, free: 0.5117 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 0.0001089/0.409, allocations: 10.42 kB / 410 MB, free: 0.5039 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.409, allocations: 11.34 kB / 410 MB, free: 0.4961 MB / 318.1 MB
Notification: Performance of SimCode: time 1.423e-06/0.409, allocations: 0 / 410 MB, free: 0.4961 MB / 318.1 MB
Notification: Performance of Templates: time 0.01206/0.4211, allocations: 4.548 MB / 414.5 MB, free: 14.57 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: 5.404122333042324]