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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 122.4 kB / 17.74 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 186.9 kB / 20.68 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 51.92 kB / 357.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09702, allocations: 49.44 MB / 406.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002718/0.09979, allocations: 1.518 MB / 408.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1017, allocations: 0.8419 MB / 409.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.1017, allocations: 4 kB / 409.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.57e-05/0.1018, allocations: 11.86 kB / 409.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.048e-05/0.1019, allocations: 23.84 kB / 409.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1022, allocations: 47.89 kB / 409.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1024, allocations: 155.7 kB / 409.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.1025, allocations: 23.97 kB / 409.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.103, allocations: 383.3 kB / 409.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1031, allocations: 59.77 kB / 410 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.1032, allocations: 8 kB / 410 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.1033, allocations: 12 kB / 410 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.1034, allocations: 63.7 kB / 410.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1035, allocations: 119.2 kB / 410.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.1039, allocations: 354.5 kB / 410.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1039, allocations: 0 / 410.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.104, allocations: 0 / 410.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.104, allocations: 4 kB / 410.5 MB, free: 3.766 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.0008042/0.1048, allocations: 0.746 MB / 411.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1048, allocations: 12.03 kB / 411.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1049, allocations: 42.73 kB / 411.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.105, allocations: 40.7 kB / 411.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1053, allocations: 278.6 kB / 411.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1053, allocations: 12.38 kB / 411.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1053, allocations: 4.375 kB / 411.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.1056, allocations: 129.7 kB / 411.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1056, allocations: 0 / 411.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.1057, allocations: 4 kB / 411.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1057, allocations: 0 / 411.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1058, allocations: 59.95 kB / 411.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.1065, allocations: 460.5 kB / 412.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1067, allocations: 94.53 kB / 412.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1068, allocations: 88.89 kB / 412.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1068, allocations: 0 / 412.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/0.1072, allocations: 206.6 kB / 412.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1072, allocations: 0 / 412.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008218/0.1081, allocations: 464.1 kB / 413.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.1082, allocations: 166.2 kB / 413.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.1089, allocations: 0.5168 MB / 413.8 MB, free: 192 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1089, allocations: 33.7 kB / 413.8 MB, free: 152 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.109, allocations: 97.12 kB / 413.9 MB, free: 52 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.109, allocations: 31.75 kB / 414 MB, free: 20 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.1092, allocations: 85.55 kB / 414.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1093, allocations: 326.8 kB / 414.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1094, allocations: 55.97 kB / 414.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1096, allocations: 69.8 kB / 414.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.11, allocations: 354.2 kB / 414.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.11, allocations: 0 / 414.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005334/0.1105, allocations: 380.3 kB / 415.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.88e-05/0.1106, allocations: 122.8 kB / 415.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1106, allocations: 0 / 415.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1107, allocations: 4 kB / 415.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.736e-05/0.1107, allocations: 0 / 415.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1107, allocations: 3.938 kB / 415.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.1109, allocations: 19.95 kB / 415.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.1109, allocations: 40 kB / 415.4 MB, free: 14.46 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.0004237/0.1113, allocations: 370.2 kB / 415.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.1114, allocations: 43.77 kB / 415.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1115, allocations: 63.14 kB / 415.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1115, allocations: 128 / 415.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1115, allocations: 4 kB / 415.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1115, allocations: 0 / 415.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1126, allocations: 0.8134 MB / 416.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1126, allocations: 0 / 416.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-06/0.1126, allocations: 7.938 kB / 416.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1126, allocations: 0 / 416.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.1126, allocations: 11.98 kB / 416.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1126, allocations: 0 / 416.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1126, allocations: 3.938 kB / 416.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.1133, allocations: 0.5327 MB / 417.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.1137, allocations: 244.6 kB / 417.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.1137, allocations: 12 kB / 417.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1139, allocations: 15.98 kB / 417.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.114, allocations: 19.92 kB / 417.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.114, allocations: 47.98 kB / 417.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004901/0.1145, allocations: 386.9 kB / 417.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1145, allocations: 3.938 kB / 418 MB, free: 11.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1148, allocations: 40 kB / 418 MB, free: 11.7 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.001331/0.1162, allocations: 1.09 MB / 419.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.1168, allocations: 437.5 kB / 419.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1168, allocations: 0 / 419.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.1172, allocations: 377.6 kB / 419.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.1178, allocations: 129.6 kB / 420 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.1216, allocations: 2.758 MB / 422.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.1222, allocations: 0.7983 MB / 423.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.1223, allocations: 12.59 kB / 423.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.1224, allocations: 27.44 kB / 423.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1224, allocations: 0 / 423.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2131/0.3355, allocations: 5.909 MB / 429.5 MB, free: 24.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.264, allocations: 8.031 kB / 429.5 MB, free: 24.34 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00239569 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable iNV3S.y in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv. Warning: Get data of variable iNV3S.y from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.712210973957554]