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.001061/0.001061, allocations: 115 kB / 16.63 MB, free: 6.812 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.001115/0.001115, allocations: 186 kB / 17.55 MB, free: 5.934 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.298/1.298, allocations: 222.9 MB / 241.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 48.45 kB / 300.1 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09758, allocations: 49.45 MB / 349.6 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002721/0.1003, allocations: 1.56 MB / 351.1 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1021, allocations: 0.8498 MB / 352 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.1022, allocations: 0 / 352 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.049e-05/0.1023, allocations: 3.938 kB / 352 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.1024, allocations: 19.84 kB / 352 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1026, allocations: 39.97 kB / 352.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1028, allocations: 163.7 kB / 352.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.103, allocations: 19.98 kB / 352.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.1035, allocations: 387.3 kB / 352.6 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1036, allocations: 75.7 kB / 352.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.1036, allocations: 8 kB / 352.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.85e-05/0.1037, allocations: 12 kB / 352.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.1038, allocations: 63.75 kB / 352.8 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1039, allocations: 119.2 kB / 352.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.1042, allocations: 358.7 kB / 353.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1042, allocations: 4 kB / 353.2 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1042, allocations: 0 / 353.2 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1042, allocations: 0 / 353.2 MB, free: 0.8281 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.0007459/0.105, allocations: 0.7191 MB / 354 MB, free: 36 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.105, allocations: 12.03 kB / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1052, allocations: 40.52 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1055, allocations: 274.3 kB / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1055, allocations: 4.375 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1055, allocations: 8.375 kB / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.1058, allocations: 125.9 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1058, allocations: 0 / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.1059, allocations: 8 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1059, allocations: 3.938 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.106, allocations: 59.91 kB / 354.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.1067, allocations: 468.5 kB / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1069, allocations: 94.48 kB / 355 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1071, allocations: 84.89 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.1071, allocations: 0 / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.1075, allocations: 210.6 kB / 355.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1075, allocations: 0 / 355.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008662/0.1084, allocations: 460 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.1085, allocations: 174.1 kB / 355.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.1092, allocations: 0.5168 MB / 356.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.1092, allocations: 29.7 kB / 356.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.1093, allocations: 105.1 kB / 356.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.1094, allocations: 19.66 kB / 356.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1095, allocations: 85.41 kB / 356.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1097, allocations: 326.8 kB / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1098, allocations: 55.97 kB / 357.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.11, allocations: 69.69 kB / 357.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.1103, allocations: 350.5 kB / 357.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1103, allocations: 4 kB / 357.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005313/0.1109, allocations: 384.3 kB / 357.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.111, allocations: 118.8 kB / 358 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.111, allocations: 7.984 kB / 358 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.111, allocations: 0 / 358 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-05/0.111, allocations: 0 / 358 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.111, allocations: 0 / 358 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1112, allocations: 16 kB / 358 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.1113, allocations: 43.97 kB / 358 MB, free: 11.61 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.0003437/0.1116, allocations: 374.2 kB / 358.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.1117, allocations: 39.53 kB / 358.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1118, allocations: 63.16 kB / 358.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1118, allocations: 112 / 358.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1118, allocations: 3.938 kB / 358.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1118, allocations: 0 / 358.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/0.1127, allocations: 0.8095 MB / 359.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1127, allocations: 0 / 359.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-06/0.1128, allocations: 4 kB / 359.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1128, allocations: 0 / 359.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.1128, allocations: 15.98 kB / 359.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1128, allocations: 4 kB / 359.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1128, allocations: 3.938 kB / 359.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.1135, allocations: 0.5212 MB / 359.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.1138, allocations: 248.3 kB / 360.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.1139, allocations: 12.25 kB / 360.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.114, allocations: 19.98 kB / 360.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1141, allocations: 27.91 kB / 360.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.1142, allocations: 43.94 kB / 360.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004699/0.1147, allocations: 386.9 kB / 360.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1147, allocations: 3.938 kB / 360.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.115, allocations: 51.92 kB / 360.6 MB, free: 8.82 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.0001325/0.1151, allocations: 115 kB / 360.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005156/0.1156, allocations: 441.5 kB / 361.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1157, allocations: 0 / 361.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.116, allocations: 377.5 kB / 361.5 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.1166, allocations: 122.6 kB / 361.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1177, allocations: 0.7553 MB / 362.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.1181, allocations: 0.7983 MB / 363.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.1182, allocations: 16.62 kB / 363.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.1182, allocations: 15.44 kB / 363.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1182, allocations: 0 / 363.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of Templates: time 0.007496/0.1257, allocations: 4.379 MB / 367.6 MB, free: 1.668 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