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.001671/0.001671, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.00132/0.00132, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001624/0.001624, allocations: 51.92 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1012, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00305/0.1043, allocations: 1.543 MB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.1064, allocations: 0.8848 MB / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.1065, allocations: 0 / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.876e-05/0.1066, allocations: 11.86 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1067, allocations: 15.86 kB / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.107, allocations: 55.88 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1072, allocations: 131.7 kB / 430.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1073, allocations: 23.98 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.1078, allocations: 391.3 kB / 430.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.108, allocations: 75.67 kB / 430.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.108, allocations: 8 kB / 430.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.1081, allocations: 12 kB / 430.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-05/0.1082, allocations: 63.7 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1083, allocations: 107.2 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1087, allocations: 366.4 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1087, allocations: 0 / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1087, allocations: 0 / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1087, allocations: 0 / 431.1 MB, free: 0.5898 MB / 350.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.1906/0.2994, allocations: 0.7408 MB / 431.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2994, allocations: 9.5 kB / 431.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.2995, allocations: 39.27 kB / 431.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.2998, allocations: 272 kB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2998, allocations: 8.594 kB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.2998, allocations: 7.562 kB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.3002, allocations: 127.2 kB / 432.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3002, allocations: 0 / 432.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3002, allocations: 8.141 kB / 432.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3002, allocations: 2.219 kB / 432.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3004, allocations: 57.42 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.3011, allocations: 465.5 kB / 432.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3012, allocations: 75 kB / 432.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3014, allocations: 61.3 kB / 433 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-06/0.3014, allocations: 1.734 kB / 433 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.3017, allocations: 199.9 kB / 433.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.3017, allocations: 6.469 kB / 433.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007881/0.3025, allocations: 473 kB / 433.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.3026, allocations: 167.3 kB / 433.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.3031, allocations: 0.5115 MB / 434.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3031, allocations: 32.17 kB / 434.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.3031, allocations: 102.8 kB / 434.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.3032, allocations: 30.67 kB / 434.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3033, allocations: 84.34 kB / 434.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.3033, allocations: 324.8 kB / 434.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3035, allocations: 59.7 kB / 435 MB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3036, allocations: 73.73 kB / 435 MB, free: 9.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.3039, allocations: 348.5 kB / 435.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3039, allocations: 0 / 435.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004845/0.3044, allocations: 385.1 kB / 435.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.3044, allocations: 124.6 kB / 435.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3044, allocations: 2.906 kB / 435.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3044, allocations: 1.531 kB / 435.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.3045, allocations: 1.094 kB / 435.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3045, allocations: 1.281 kB / 435.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3046, allocations: 14.81 kB / 435.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.3047, allocations: 38.31 kB / 435.9 MB, free: 8.852 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.0002555/0.3049, allocations: 368.6 kB / 436.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.305, allocations: 39.33 kB / 436.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/0.305, allocations: 76.48 kB / 436.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.305, allocations: 1.375 kB / 436.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.305, allocations: 0 / 436.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3051, allocations: 0 / 436.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.3059, allocations: 0.8112 MB / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3059, allocations: 0 / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-06/0.3059, allocations: 2.062 kB / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3059, allocations: 0 / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.3059, allocations: 16.3 kB / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3059, allocations: 0 / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3059, allocations: 0 / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.3065, allocations: 0.5385 MB / 437.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.3067, allocations: 250.9 kB / 438 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.3068, allocations: 11.19 kB / 438 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3069, allocations: 13.61 kB / 438 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.307, allocations: 27.95 kB / 438.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.3071, allocations: 44.91 kB / 438.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000403/0.3075, allocations: 382.1 kB / 438.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 0 / 438.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.3078, allocations: 42.09 kB / 438.5 MB, free: 7.332 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.0001177/0.3079, allocations: 117.2 kB / 438.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004106/0.3083, allocations: 379.1 kB / 439 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3083, allocations: 0 / 439 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.3085, allocations: 301.1 kB / 439.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.3092, allocations: 115.8 kB / 439.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3102, allocations: 0.7054 MB / 440.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3105, allocations: 0.8021 MB / 440.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.3105, allocations: 11.78 kB / 440.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3105, allocations: 0 / 440.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005557/0.3161, allocations: 2.591 MB / 443.5 MB, free: 5.238 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/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: 7.559249454003293]