Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001995/0.001995, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002391/0.002391, allocations: 211.7 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 51.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2959, allocations: 53.38 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002832/0.2987, allocations: 1.487 MB / 433.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3008, allocations: 0.838 MB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.3008, allocations: 8 kB / 433.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.939e-05/0.3009, allocations: 11.86 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.301, allocations: 19.84 kB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.3013, allocations: 51.89 kB / 434 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3015, allocations: 139.7 kB / 434.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3016, allocations: 19.98 kB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.3021, allocations: 387.3 kB / 434.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3023, allocations: 75.62 kB / 434.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.3023, allocations: 8 kB / 434.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.3024, allocations: 12 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3025, allocations: 67.75 kB / 434.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3026, allocations: 79.36 kB / 434.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.303, allocations: 372.7 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.303, allocations: 0 / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.303, allocations: 0 / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.303, allocations: 0 / 435.1 MB, free: 3.164 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.0009041/0.3039, allocations: 0.6513 MB / 435.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.304, allocations: 12.03 kB / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.3041, allocations: 36.7 kB / 435.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3044, allocations: 220.8 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3044, allocations: 8.375 kB / 436.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.3044, allocations: 12.38 kB / 436.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.3048, allocations: 240.7 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3049, allocations: 0 / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3049, allocations: 7.938 kB / 436.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3049, allocations: 0 / 436.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3051, allocations: 178.8 kB / 436.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.3059, allocations: 388.2 kB / 436.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.3061, allocations: 197.3 kB / 437.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.3064, allocations: 179.7 kB / 437.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3064, allocations: 112 / 437.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005347/0.3069, allocations: 329.4 kB / 437.6 MB, free: 476 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3069, allocations: 0 / 437.6 MB, free: 476 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001245/0.3082, allocations: 0.6932 MB / 438.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.3083, allocations: 170.2 kB / 438.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.309, allocations: 0.5168 MB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.3091, allocations: 33.7 kB / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.3091, allocations: 93.14 kB / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.3092, allocations: 27.84 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3093, allocations: 77.52 kB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3095, allocations: 338.7 kB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3097, allocations: 174.8 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.3099, allocations: 196.4 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.3103, allocations: 354.3 kB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3103, allocations: 0 / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006308/0.3109, allocations: 499.1 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.311, allocations: 122.8 kB / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.311, allocations: 0 / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.311, allocations: 0 / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.674e-05/0.3111, allocations: 12.02 kB / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3111, allocations: 0 / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.3112, allocations: 15.95 kB / 440.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.3113, allocations: 43.98 kB / 440.9 MB, free: 12.8 MB / 350.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.0003745/0.3117, allocations: 366.2 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.3117, allocations: 39.77 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.3118, allocations: 63.09 kB / 441.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3118, allocations: 4 kB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3118, allocations: 128 / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3118, allocations: 3.938 kB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.313, allocations: 0.8627 MB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.313, allocations: 0 / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.313, allocations: 4 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.313, allocations: 3.984 kB / 442.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.313, allocations: 11.98 kB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.313, allocations: 0 / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.313, allocations: 0 / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.3139, allocations: 0.653 MB / 442.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/0.3143, allocations: 205.3 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3143, allocations: 12 kB / 443.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3145, allocations: 15.98 kB / 443.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3146, allocations: 19.98 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.3146, allocations: 47.92 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004942/0.3151, allocations: 386.9 kB / 443.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3151, allocations: 0 / 443.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.3154, allocations: 43.94 kB / 443.6 MB, free: 9.902 MB / 350.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.0001542/0.3156, allocations: 115 kB / 443.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007146/0.3163, allocations: 0.6085 MB / 444.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3163, allocations: 64 / 444.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.3167, allocations: 424.4 kB / 444.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.3174, allocations: 124.3 kB / 444.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3186, allocations: 0.7872 MB / 445.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.3189, allocations: 190.3 kB / 445.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.3189, allocations: 8.656 kB / 445.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.319, allocations: 15.44 kB / 445.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.319, allocations: 4 kB / 445.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of Templates: time 0.009324/0.3283, allocations: 5.004 MB / 450.8 MB, free: 2.418 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.8163670701906085]