Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001217/0.001217, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001327/0.001327, allocations: 196.4 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 47.88 kB / 370.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3057, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003054/0.3088, allocations: 1.485 MB / 424.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3108, allocations: 0.8031 MB / 425.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.3109, allocations: 4 kB / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.311, allocations: 7.922 kB / 425.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.258e-05/0.3111, allocations: 23.8 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3114, allocations: 51.88 kB / 425.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.3116, allocations: 135.7 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3117, allocations: 15.98 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.3122, allocations: 395.2 kB / 426 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.3124, allocations: 67.69 kB / 426 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.3124, allocations: 12 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.761e-05/0.3124, allocations: 12 kB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.3125, allocations: 63.7 kB / 426.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.3126, allocations: 79.36 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.313, allocations: 367.8 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.313, allocations: 0 / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.313, allocations: 3.938 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3131, allocations: 0 / 426.6 MB, free: 10.96 MB / 334.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.000834/0.3139, allocations: 0.6618 MB / 427.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3139, allocations: 8.031 kB / 427.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.314, allocations: 44.7 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3143, allocations: 220.8 kB / 427.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3144, allocations: 4.375 kB / 427.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3144, allocations: 8.375 kB / 427.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.3148, allocations: 240.7 kB / 427.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3148, allocations: 3.938 kB / 427.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3148, allocations: 8 kB / 427.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3148, allocations: 0 / 427.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.315, allocations: 182.7 kB / 427.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.3157, allocations: 384.2 kB / 428.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.316, allocations: 201.3 kB / 428.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.3163, allocations: 179.7 kB / 428.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3163, allocations: 0 / 428.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006013/0.3169, allocations: 317.5 kB / 429 MB, free: 8.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.3169, allocations: 0 / 429 MB, free: 8.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001435/0.3183, allocations: 0.6965 MB / 429.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.3185, allocations: 166.2 kB / 429.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3196, allocations: 0.5169 MB / 430.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.3196, allocations: 29.81 kB / 430.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3197, allocations: 109.1 kB / 430.5 MB, free: 6.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.3198, allocations: 31.8 kB / 430.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.32, allocations: 77.55 kB / 430.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3201, allocations: 322.8 kB / 430.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3204, allocations: 178.8 kB / 431.1 MB, free: 5.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.3207, allocations: 192.5 kB / 431.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.3213, allocations: 359.3 kB / 431.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3213, allocations: 0 / 431.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009497/0.3222, allocations: 499.1 kB / 432.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.3224, allocations: 130.8 kB / 432.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3224, allocations: 4.031 kB / 432.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.3224, allocations: 0 / 432.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.3224, allocations: 4 kB / 432.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3224, allocations: 0 / 432.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.3226, allocations: 8 kB / 432.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.3227, allocations: 48.12 kB / 432.3 MB, free: 4.602 MB / 334.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.0005474/0.3233, allocations: 370.2 kB / 432.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.3233, allocations: 39.77 kB / 432.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.3235, allocations: 59.09 kB / 432.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3235, allocations: 4 kB / 432.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3235, allocations: 4 kB / 432.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3235, allocations: 0 / 432.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.3251, allocations: 0.8549 MB / 433.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3251, allocations: 0 / 433.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.3251, allocations: 0 / 433.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.3251, allocations: 7.984 kB / 433.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.3251, allocations: 15.98 kB / 433.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.3251, allocations: 0 / 433.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3251, allocations: 3.938 kB / 433.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3262, allocations: 0.6629 MB / 434.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/0.3268, allocations: 213.2 kB / 434.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.3269, allocations: 12 kB / 434.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3271, allocations: 11.98 kB / 434.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.3273, allocations: 19.98 kB / 434.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.3274, allocations: 47.98 kB / 434.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007754/0.3281, allocations: 382.9 kB / 435 MB, free: 1.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3281, allocations: 0 / 435 MB, free: 1.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005125/0.3286, allocations: 43.94 kB / 435 MB, free: 1.691 MB / 334.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.0002068/0.3288, allocations: 119 kB / 435.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.3298, allocations: 0.6046 MB / 435.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3298, allocations: 3.938 kB / 435.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.3304, allocations: 424.6 kB / 436.2 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.3314, allocations: 118.4 kB / 436.3 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3333, allocations: 0.7809 MB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.3337, allocations: 197.6 kB / 437.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.693e-05/0.3338, allocations: 12.72 kB / 437.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3338, allocations: 11.44 kB / 437.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3338, allocations: 0 / 437.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of Templates: time 0.01408/0.3479, allocations: 4.995 MB / 442.3 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.816271219402552]