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.001312/0.001312, allocations: 123 kB / 17.79 MB, free: 5.266 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.00129/0.00129, allocations: 189.2 kB / 20.73 MB, free: 2.328 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.454/1.454, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.001506/0.001506, allocations: 51.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 52.13 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002936/0.1074, allocations: 1.53 MB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1094, allocations: 0.842 MB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.1095, allocations: 4 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1096, allocations: 11.86 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.1096, allocations: 23.84 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1099, allocations: 55.88 kB / 420.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1101, allocations: 135.7 kB / 420.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.1102, allocations: 11.98 kB / 420.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.1107, allocations: 391.3 kB / 420.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1109, allocations: 79.67 kB / 420.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1109, allocations: 8 kB / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.111, allocations: 12 kB / 420.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1111, allocations: 59.77 kB / 420.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1112, allocations: 115.1 kB / 421 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.1117, allocations: 362.5 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1117, allocations: 0 / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1117, allocations: 4 kB / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1117, allocations: 0 / 421.4 MB, free: 8.973 MB / 350.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.0009252/0.1126, allocations: 0.7343 MB / 422.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1126, allocations: 12.03 kB / 422.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.1127, allocations: 38.75 kB / 422.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.1128, allocations: 36.7 kB / 422.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1131, allocations: 282.7 kB / 422.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.1131, allocations: 4.375 kB / 422.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1132, allocations: 12.31 kB / 422.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.1135, allocations: 137.1 kB / 422.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1135, allocations: 0 / 422.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.1135, allocations: 8 kB / 422.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1135, allocations: 0 / 422.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1137, allocations: 59.91 kB / 422.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.1144, allocations: 468.4 kB / 423.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1146, allocations: 74.55 kB / 423.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1147, allocations: 60.89 kB / 423.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1147, allocations: 4 kB / 423.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.1151, allocations: 202.6 kB / 423.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1151, allocations: 0 / 423.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000879/0.116, allocations: 464.1 kB / 424 MB, free: 6.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.1161, allocations: 166.2 kB / 424.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.1168, allocations: 0.5169 MB / 424.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.1168, allocations: 29.7 kB / 424.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1169, allocations: 101.1 kB / 424.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.1169, allocations: 31.75 kB / 424.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.1171, allocations: 81.55 kB / 424.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1172, allocations: 326.8 kB / 425.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1173, allocations: 59.97 kB / 425.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1175, allocations: 69.69 kB / 425.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.1179, allocations: 347.4 kB / 425.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1179, allocations: 3.938 kB / 425.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006008/0.1185, allocations: 375.3 kB / 426 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1186, allocations: 122.8 kB / 426.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1186, allocations: 0 / 426.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1186, allocations: 3.984 kB / 426.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.369e-05/0.1186, allocations: 8 kB / 426.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1186, allocations: 0 / 426.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1188, allocations: 15.97 kB / 426.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.1188, allocations: 43.98 kB / 426.2 MB, free: 3.719 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.0003815/0.1192, allocations: 374.3 kB / 426.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.1193, allocations: 43.75 kB / 426.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1194, allocations: 67.27 kB / 426.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1194, allocations: 3.938 kB / 426.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1194, allocations: 0 / 426.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1194, allocations: 0 / 426.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1204, allocations: 0.8017 MB / 427.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1204, allocations: 0 / 427.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-06/0.1204, allocations: 7.938 kB / 427.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1204, allocations: 0 / 427.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1205, allocations: 19.92 kB / 427.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1205, allocations: 0 / 427.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1205, allocations: 3.938 kB / 427.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.1212, allocations: 0.5254 MB / 428.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.1215, allocations: 252.6 kB / 428.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.1215, allocations: 12 kB / 428.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1217, allocations: 11.98 kB / 428.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1218, allocations: 27.91 kB / 428.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.1218, allocations: 40 kB / 428.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004806/0.1223, allocations: 386.9 kB / 428.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1223, allocations: 0 / 428.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1226, allocations: 44 kB / 428.8 MB, free: 0.9531 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.001138/0.1237, allocations: 1.093 MB / 429.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005274/0.1243, allocations: 377.5 kB / 430.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1243, allocations: 0 / 430.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.1246, allocations: 301.6 kB / 430.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1252, allocations: 124.4 kB / 430.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.1289, allocations: 2.761 MB / 433.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.1294, allocations: 0.8022 MB / 434.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1294, allocations: 12.59 kB / 434.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1295, allocations: 31.36 kB / 434.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1295, allocations: 0 / 434.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.1588, allocations: 5.939 MB / 440.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.064, allocations: 0 / 440.2 MB, free: 5.316 MB / 366.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/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) [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.720497932750732]