Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002402/0.002402, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002191/0.002191, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.83 kB / 368.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2971, allocations: 53.32 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002978/0.3001, allocations: 1.537 MB / 423.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3024, allocations: 0.8926 MB / 424.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.3025, allocations: 0 / 424.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.3026, allocations: 7.938 kB / 424.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.3027, allocations: 27.78 kB / 424.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.303, allocations: 47.89 kB / 424.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3032, allocations: 135.7 kB / 424.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3033, allocations: 11.98 kB / 424.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.3038, allocations: 403.2 kB / 425.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.304, allocations: 67.75 kB / 425.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.304, allocations: 12 kB / 425.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.894e-05/0.304, allocations: 8 kB / 425.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3041, allocations: 75.62 kB / 425.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3043, allocations: 111.2 kB / 425.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.3047, allocations: 354.1 kB / 425.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3047, allocations: 7.938 kB / 425.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3047, allocations: 3.938 kB / 425.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3048, allocations: 0 / 425.9 MB, free: 4.152 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.001028/0.3058, allocations: 0.7256 MB / 426.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3058, allocations: 12.03 kB / 426.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.3059, allocations: 40.7 kB / 426.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3063, allocations: 282.6 kB / 427 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3063, allocations: 4.375 kB / 427 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3063, allocations: 8.375 kB / 427 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3067, allocations: 125.9 kB / 427.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/0.3067, allocations: 0 / 427.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.3067, allocations: 8 kB / 427.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3067, allocations: 4 kB / 427.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3069, allocations: 55.97 kB / 427.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.3076, allocations: 472.4 kB / 427.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3078, allocations: 70.55 kB / 427.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3079, allocations: 60.89 kB / 427.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.308, allocations: 0 / 427.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.3084, allocations: 210.6 kB / 428 MB, free: 1.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3084, allocations: 0 / 428 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008732/0.3092, allocations: 467 kB / 428.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.3094, allocations: 170.2 kB / 428.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.3101, allocations: 0.513 MB / 429.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.3101, allocations: 29.7 kB / 429.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.3102, allocations: 105.1 kB / 429.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3102, allocations: 31.89 kB / 429.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3104, allocations: 89.45 kB / 429.4 MB, free: 428 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3106, allocations: 330.7 kB / 429.7 MB, free: 88 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3107, allocations: 55.97 kB / 429.7 MB, free: 32 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3108, allocations: 69.77 kB / 429.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.3113, allocations: 343.3 kB / 430.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3113, allocations: 3.938 kB / 430.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005625/0.3118, allocations: 372.4 kB / 430.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.312, allocations: 126.8 kB / 430.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.312, allocations: 0 / 430.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.312, allocations: 0 / 430.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.312, allocations: 128 / 430.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.312, allocations: 4 kB / 430.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3122, allocations: 23.89 kB / 430.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/0.3123, allocations: 39.98 kB / 430.7 MB, free: 14.95 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.0004824/0.3127, allocations: 366.2 kB / 431.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3128, allocations: 39.81 kB / 431.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.313, allocations: 71.12 kB / 431.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.313, allocations: 0 / 431.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3131, allocations: 4 kB / 431.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3131, allocations: 0 / 431.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3142, allocations: 0.8091 MB / 432 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3142, allocations: 3.984 kB / 432 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-06/0.3142, allocations: 3.938 kB / 432 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3142, allocations: 0 / 432 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3142, allocations: 20 kB / 432 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3142, allocations: 0 / 432 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3142, allocations: 3.938 kB / 432 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006888/0.3149, allocations: 0.5215 MB / 432.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.3153, allocations: 252.6 kB / 432.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.3153, allocations: 11.94 kB / 432.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3155, allocations: 15.98 kB / 432.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3156, allocations: 27.91 kB / 432.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.3156, allocations: 47.94 kB / 432.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004774/0.3161, allocations: 386.9 kB / 433.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3161, allocations: 4 kB / 433.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3164, allocations: 44 kB / 433.3 MB, free: 12.18 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.0001633/0.3166, allocations: 115 kB / 433.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.3172, allocations: 373.7 kB / 433.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3172, allocations: 0 / 433.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.3176, allocations: 305.6 kB / 434.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3182, allocations: 118 kB / 434.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3194, allocations: 0.6687 MB / 434.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.32, allocations: 0.8022 MB / 435.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.32, allocations: 4.672 kB / 435.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3201, allocations: 19.44 kB / 435.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3201, allocations: 0 / 435.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Templates: time 0.0089/0.329, allocations: 4.571 MB / 440.3 MB, free: 5.051 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches