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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 112.5 kB / 17.06 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 196.1 kB / 18.01 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 241.7 MB, free: 15.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 43.94 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3275, allocations: 49.43 MB / 400.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002678/0.3302, allocations: 1.52 MB / 402.2 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.332, allocations: 0.8442 MB / 403.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.3321, allocations: 4 kB / 403.1 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.715e-05/0.3322, allocations: 11.86 kB / 403.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.3323, allocations: 19.86 kB / 403.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3326, allocations: 51.88 kB / 403.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.3328, allocations: 151.7 kB / 403.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3329, allocations: 31.95 kB / 403.3 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.3333, allocations: 379.3 kB / 403.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3335, allocations: 63.77 kB / 403.8 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.687e-05/0.3335, allocations: 8 kB / 403.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.3336, allocations: 12 kB / 403.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.3337, allocations: 63.7 kB / 403.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3338, allocations: 111.2 kB / 404 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.3342, allocations: 358.5 kB / 404.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3342, allocations: 3.938 kB / 404.3 MB, free: 5.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3342, allocations: 4 kB / 404.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3342, allocations: 0 / 404.3 MB, free: 5.391 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.000804/0.335, allocations: 0.7305 MB / 405.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3351, allocations: 12.03 kB / 405.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.3351, allocations: 36.7 kB / 405.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3354, allocations: 286.5 kB / 405.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3355, allocations: 8.375 kB / 405.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3355, allocations: 8.375 kB / 405.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3358, allocations: 137.9 kB / 405.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.3358, allocations: 7.938 kB / 405.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.3358, allocations: 4 kB / 405.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3358, allocations: 0 / 405.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.336, allocations: 55.97 kB / 405.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.3366, allocations: 464.5 kB / 406.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.3368, allocations: 90.55 kB / 406.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.337, allocations: 88.89 kB / 406.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.337, allocations: 0 / 406.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.3374, allocations: 210.6 kB / 406.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.3374, allocations: 0 / 406.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000801/0.3382, allocations: 464.1 kB / 406.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.3383, allocations: 166.2 kB / 407.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.3389, allocations: 0.513 MB / 407.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3389, allocations: 33.7 kB / 407.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.339, allocations: 97.12 kB / 407.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.3391, allocations: 43.66 kB / 407.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3392, allocations: 81.56 kB / 407.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3393, allocations: 326.8 kB / 408.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3395, allocations: 51.97 kB / 408.2 MB, free: 1.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3396, allocations: 77.67 kB / 408.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.34, allocations: 345.5 kB / 408.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.34, allocations: 3.938 kB / 408.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005224/0.3405, allocations: 376.3 kB / 409 MB, free: 352 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-05/0.3406, allocations: 129 kB / 409.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3406, allocations: 0 / 409.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3406, allocations: 0 / 409.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-05/0.3407, allocations: 4 kB / 409.1 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3407, allocations: 0 / 409.1 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3408, allocations: 15.92 kB / 409.1 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.3409, allocations: 52.08 kB / 409.2 MB, free: 128 kB / 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.0003946/0.3413, allocations: 358.3 kB / 409.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.3414, allocations: 39.77 kB / 409.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3415, allocations: 63.14 kB / 409.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3415, allocations: 4 kB / 409.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3415, allocations: 0 / 409.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3415, allocations: 3.984 kB / 409.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009797/0.3425, allocations: 0.8056 MB / 410.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3425, allocations: 4 kB / 410.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.3425, allocations: 3.938 kB / 410.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3425, allocations: 0 / 410.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3426, allocations: 12 kB / 410.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3426, allocations: 0 / 410.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3426, allocations: 7.781 kB / 410.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.3434, allocations: 0.5311 MB / 411 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.3437, allocations: 252.6 kB / 411.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.3438, allocations: 8.25 kB / 411.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3439, allocations: 16 kB / 411.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.344, allocations: 27.91 kB / 411.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.3441, allocations: 40 kB / 411.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004544/0.3446, allocations: 390.9 kB / 411.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3446, allocations: 0 / 411.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.3449, allocations: 44 kB / 411.7 MB, free: 13.37 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.0001635/0.345, allocations: 126.9 kB / 411.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.3456, allocations: 433.5 kB / 412.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3456, allocations: 0 / 412.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.3459, allocations: 373.6 kB / 412.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.3465, allocations: 128.1 kB / 412.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.3476, allocations: 0.657 MB / 413.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.348, allocations: 0.806 MB / 414.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.3481, allocations: 8.656 kB / 414.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.3481, allocations: 15.38 kB / 414.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3481, allocations: 0 / 414.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of Templates: time 0.0112/0.3593, allocations: 4.524 MB / 418.8 MB, free: 6.164 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (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) 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) Reference file matches