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.001415/0.001415, allocations: 103.3 kB / 17.59 MB, free: 5.418 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.001394/0.001394, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.386/1.386, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009561/0.0009561, allocations: 46.52 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08921, allocations: 49.45 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002719/0.09196, allocations: 1.505 MB / 352.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.09384, allocations: 0.859 MB / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.09393, allocations: 0 / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.09405, allocations: 11.86 kB / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.09414, allocations: 19.86 kB / 353.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.09442, allocations: 51.88 kB / 353.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.09465, allocations: 151.7 kB / 353.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.09476, allocations: 19.98 kB / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.09519, allocations: 383.3 kB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.09535, allocations: 63.75 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.0954, allocations: 12 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.09544, allocations: 8 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.09554, allocations: 71.64 kB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.09566, allocations: 107.2 kB / 354 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.09598, allocations: 354.8 kB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.09599, allocations: 4 kB / 354.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.096, allocations: 0 / 354.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.09601, allocations: 0 / 354.3 MB, free: 0.8008 MB / 286.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.0007905/0.0968, allocations: 0.723 MB / 355 MB, free: 4 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.09687, allocations: 8.391 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.09696, allocations: 40.47 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.09724, allocations: 274.2 kB / 355.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.09727, allocations: 8.375 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.09731, allocations: 12.31 kB / 355.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.09761, allocations: 129.9 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.09763, allocations: 0 / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.09766, allocations: 4 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.09767, allocations: 0 / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.09781, allocations: 59.97 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.09844, allocations: 464.4 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.09864, allocations: 94.55 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.09879, allocations: 84.89 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.09881, allocations: 0 / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.09916, allocations: 210.6 kB / 356.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.09917, allocations: 0 / 356.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007642/0.09994, allocations: 463.4 kB / 356.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.1, allocations: 170.2 kB / 357 MB, free: 13.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.1006, allocations: 0.5207 MB / 357.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1007, allocations: 29.7 kB / 357.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1007, allocations: 97.12 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1008, allocations: 35.58 kB / 357.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1009, allocations: 81.42 kB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.101, allocations: 322.8 kB / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1012, allocations: 55.97 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1013, allocations: 77.67 kB / 358.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.1016, allocations: 343.4 kB / 358.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1016, allocations: 0 / 358.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000517/0.1022, allocations: 380.2 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/0.1022, allocations: 126.8 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1023, allocations: 3.984 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1023, allocations: 128 / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.118e-05/0.1023, allocations: 8.031 kB / 359.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1023, allocations: 4 kB / 359.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1025, allocations: 11.98 kB / 359.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.1025, allocations: 40.11 kB / 359.1 MB, free: 11.57 MB / 302.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.0003084/0.1028, allocations: 374.1 kB / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1029, allocations: 39.53 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.103, allocations: 59.16 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.103, allocations: 0 / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.103, allocations: 4 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.103, allocations: 7.984 kB / 359.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.104, allocations: 0.8056 MB / 360.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.104, allocations: 0 / 360.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.104, allocations: 0 / 360.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.104, allocations: 0 / 360.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.104, allocations: 12 kB / 360.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-06/0.104, allocations: 3.938 kB / 360.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.104, allocations: 3.938 kB / 360.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.1047, allocations: 0.5322 MB / 361 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.1049, allocations: 248.4 kB / 361.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.105, allocations: 8 kB / 361.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1052, allocations: 12 kB / 361.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.1053, allocations: 27.91 kB / 361.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.1053, allocations: 43.94 kB / 361.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004284/0.1058, allocations: 390.9 kB / 361.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1058, allocations: 3.938 kB / 361.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.1061, allocations: 51.94 kB / 361.7 MB, free: 8.797 MB / 302.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.0001235/0.1062, allocations: 119.1 kB / 361.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.1067, allocations: 441.5 kB / 362.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1067, allocations: 0 / 362.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.107, allocations: 373.6 kB / 362.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.1076, allocations: 120.6 kB / 362.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1087, allocations: 0.7061 MB / 363.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.1091, allocations: 0.8061 MB / 364.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.1091, allocations: 11.44 kB / 364.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1091, allocations: 0 / 364.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of Templates: time 0.004685/0.1138, allocations: 2.577 MB / 366.9 MB, free: 3.496 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/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