Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008586/0.0008586, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8846/0.8846, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.179e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001583/0.001595, allocations: 1.495 MB / 326.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.002834, allocations: 0.8342 MB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.002876, allocations: 3.938 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.817e-05/0.002954, allocations: 15.86 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.003018, allocations: 19.86 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.003233, allocations: 51.81 kB / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.003392, allocations: 139.7 kB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.003472, allocations: 19.98 kB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.003793, allocations: 415.2 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.003885, allocations: 59.77 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.003914, allocations: 11.98 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/0.003934, allocations: 12 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.003995, allocations: 63.72 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.004057, allocations: 51.8 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.0043, allocations: 366.8 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004302, allocations: 0 / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004303, allocations: 0 / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004306, allocations: 0 / 328.1 MB, free: 12.37 MB / 298.7 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.000477/0.004783, allocations: 0.662 MB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.004817, allocations: 15.97 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.004848, allocations: 34.75 kB / 328.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.004891, allocations: 40.7 kB / 328.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.00507, allocations: 216.1 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.005085, allocations: 8.375 kB / 329.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.005102, allocations: 8.375 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.005342, allocations: 241 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.005349, allocations: 192 / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.005366, allocations: 12.11 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.00537, allocations: 3.938 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.005491, allocations: 186.7 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.005913, allocations: 403.8 kB / 329.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.006296, allocations: 201.2 kB / 330.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.006418, allocations: 179.7 kB / 330.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.006426, allocations: 0 / 330.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.006678, allocations: 317.5 kB / 330.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.00668, allocations: 3.984 kB / 330.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005825/0.007262, allocations: 0.7009 MB / 331.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.007332, allocations: 174.2 kB / 331.5 MB, free: 8.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.007728, allocations: 0.5168 MB / 332 MB, free: 8.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.007747, allocations: 33.64 kB / 332 MB, free: 8.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.007795, allocations: 101.1 kB / 332.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.007828, allocations: 31.78 kB / 332.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.007905, allocations: 81.5 kB / 332.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.007993, allocations: 322.8 kB / 332.5 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.008106, allocations: 174.8 kB / 332.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.008227, allocations: 192.5 kB / 332.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.008442, allocations: 370.5 kB / 333.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.008444, allocations: 8 kB / 333.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003544/0.008799, allocations: 0.4913 MB / 333.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.008856, allocations: 126.8 kB / 333.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.00886, allocations: 0 / 333.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.008872, allocations: 4 kB / 333.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.531e-05/0.008888, allocations: 0 / 333.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.008893, allocations: 0 / 333.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.992e-05/0.008983, allocations: 15.95 kB / 333.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.009022, allocations: 44.03 kB / 333.9 MB, free: 5.895 MB / 298.7 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.0002272/0.009249, allocations: 370.5 kB / 334.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.009279, allocations: 39.77 kB / 334.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.009346, allocations: 63.09 kB / 334.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009348, allocations: 128 / 334.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.009352, allocations: 4 kB / 334.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009355, allocations: 0 / 334.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.009984, allocations: 0.8934 MB / 335.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.009985, allocations: 0 / 335.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-06/0.009989, allocations: 3.984 kB / 335.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009992, allocations: 4 kB / 335.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.01001, allocations: 8 kB / 335.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01001, allocations: 4 kB / 335.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01001, allocations: 0 / 335.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.01043, allocations: 0.6648 MB / 336 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.01066, allocations: 201.3 kB / 336.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.01069, allocations: 7.984 kB / 336.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.01077, allocations: 16 kB / 336.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.01085, allocations: 19.97 kB / 336.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.01088, allocations: 47.94 kB / 336.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.01117, allocations: 390.9 kB / 336.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01117, allocations: 0 / 336.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.01136, allocations: 55.88 kB / 336.7 MB, free: 2.93 MB / 298.7 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.0009569/0.01232, allocations: 1.198 MB / 337.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.01271, allocations: 0.6155 MB / 338.5 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01272, allocations: 0 / 338.5 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.01292, allocations: 432.2 kB / 338.9 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.0133, allocations: 128.4 kB / 339.1 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.01604, allocations: 3.36 MB / 342.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.01624, allocations: 202.2 kB / 342.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.055e-05/0.0163, allocations: 8.719 kB / 342.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.01635, allocations: 28.5 kB / 342.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01635, allocations: 0 / 342.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.03633, allocations: 7.057 MB / 349.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.017, allocations: 2.531 kB / 349.7 MB, free: 5.539 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv. Warning: Get data of variable iNV3S.y from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.786339420825243]