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.001273/0.001274, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001313/0.001313, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.397/1.397, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 48.61 kB / 300.6 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.0971, allocations: 49.45 MB / 350.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002775/0.09992, allocations: 1.515 MB / 351.6 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1018, allocations: 0.8473 MB / 352.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.1019, allocations: 0 / 352.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.1021, allocations: 19.8 kB / 352.4 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.1022, allocations: 11.86 kB / 352.4 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1024, allocations: 55.88 kB / 352.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.1028, allocations: 147.7 kB / 352.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1029, allocations: 20 kB / 352.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/0.1033, allocations: 383.2 kB / 353 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1035, allocations: 59.77 kB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.1036, allocations: 12 kB / 353.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.1036, allocations: 12 kB / 353.1 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.61e-05/0.1037, allocations: 67.7 kB / 353.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1038, allocations: 115.2 kB / 353.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.1042, allocations: 354.8 kB / 353.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1042, allocations: 0 / 353.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1042, allocations: 0 / 353.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1042, allocations: 0 / 353.6 MB, free: 0.7969 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.0007881/0.105, allocations: 0.7191 MB / 354.4 MB, free: 4 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1051, allocations: 12.02 kB / 354.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.1052, allocations: 44.47 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1055, allocations: 274.3 kB / 354.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1055, allocations: 4.375 kB / 354.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1055, allocations: 16.36 kB / 354.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1058, allocations: 121.9 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1058, allocations: 0 / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1059, allocations: 7.938 kB / 354.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1059, allocations: 7.984 kB / 354.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.106, allocations: 63.94 kB / 354.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.1067, allocations: 460.4 kB / 355.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1069, allocations: 94.55 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.1071, allocations: 84.88 kB / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.1071, allocations: 0 / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.1075, allocations: 210.6 kB / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1075, allocations: 0 / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007991/0.1083, allocations: 463 kB / 356.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.1084, allocations: 166.2 kB / 356.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.109, allocations: 0.5168 MB / 356.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1091, allocations: 33.7 kB / 356.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.1092, allocations: 97.12 kB / 357 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.1092, allocations: 35.58 kB / 357 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1093, allocations: 81.42 kB / 357.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1095, allocations: 330.8 kB / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1096, allocations: 51.97 kB / 357.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1098, allocations: 77.67 kB / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1101, allocations: 343.4 kB / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1101, allocations: 0 / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005333/0.1106, allocations: 384.2 kB / 358.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.429e-05/0.1107, allocations: 126.8 kB / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1108, allocations: 0 / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1108, allocations: 0 / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.16e-05/0.1108, allocations: 0 / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1108, allocations: 4 kB / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.111, allocations: 11.98 kB / 358.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.111, allocations: 40 kB / 358.4 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.0003912/0.1114, allocations: 370.2 kB / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.1115, allocations: 39.53 kB / 358.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1116, allocations: 67.25 kB / 358.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1116, allocations: 7.938 kB / 358.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1116, allocations: 0 / 358.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1116, allocations: 0 / 358.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/0.1126, allocations: 0.8058 MB / 359.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1126, allocations: 4 kB / 359.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-06/0.1126, allocations: 0 / 359.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1126, allocations: 4 kB / 359.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.1127, allocations: 19.92 kB / 359.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1127, allocations: 0 / 359.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1127, allocations: 3.938 kB / 359.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.1134, allocations: 0.5322 MB / 360.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.1137, allocations: 244.4 kB / 360.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.1138, allocations: 8 kB / 360.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1139, allocations: 8 kB / 360.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.114, allocations: 35.91 kB / 360.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.1141, allocations: 43.92 kB / 360.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004624/0.1146, allocations: 390.9 kB / 361 MB, free: 8.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1146, allocations: 0 / 361 MB, free: 8.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1149, allocations: 47.94 kB / 361.1 MB, free: 8.789 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.0001458/0.115, allocations: 119 kB / 361.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.1157, allocations: 441.5 kB / 361.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1157, allocations: 4.062 kB / 361.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.116, allocations: 369.6 kB / 362 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.1167, allocations: 120.3 kB / 362.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1179, allocations: 0.6614 MB / 362.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.1184, allocations: 0.8022 MB / 363.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.704e-05/0.1185, allocations: 8.656 kB / 363.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.1186, allocations: 19.38 kB / 363.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1186, allocations: 0 / 363.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of Templates: time 0.008968/0.1275, allocations: 4.516 MB / 368.1 MB, free: 1.602 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/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