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.001865/0.001865, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002298/0.002298, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001498/0.001498, allocations: 47.92 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2937, allocations: 53.36 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.0029/0.2966, allocations: 1.534 MB / 432.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2986, allocations: 0.8964 MB / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.2987, allocations: 4 kB / 433.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.2988, allocations: 11.86 kB / 433.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.2989, allocations: 23.84 kB / 433.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.2991, allocations: 51.89 kB / 433.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2994, allocations: 135.7 kB / 433.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2995, allocations: 23.97 kB / 433.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.2999, allocations: 391.3 kB / 434.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.3001, allocations: 79.62 kB / 434.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.3001, allocations: 8 kB / 434.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.88e-05/0.3001, allocations: 12 kB / 434.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.3002, allocations: 59.77 kB / 434.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3004, allocations: 115.2 kB / 434.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.3008, allocations: 360.1 kB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3008, allocations: 4 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3008, allocations: 0 / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3008, allocations: 0 / 434.8 MB, free: 3.184 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.0007823/0.3016, allocations: 0.6629 MB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3016, allocations: 12.03 kB / 435.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.3017, allocations: 38.75 kB / 435.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.3017, allocations: 36.7 kB / 435.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.302, allocations: 216.9 kB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3021, allocations: 4.375 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.3021, allocations: 16.38 kB / 435.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.3024, allocations: 129.7 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3024, allocations: 0 / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.3025, allocations: 7.984 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3025, allocations: 0 / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3026, allocations: 55.97 kB / 436 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.3033, allocations: 423.6 kB / 436.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3035, allocations: 82.47 kB / 436.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3036, allocations: 60.89 kB / 436.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.3036, allocations: 0 / 436.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003643/0.304, allocations: 197.7 kB / 436.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.304, allocations: 0 / 436.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008048/0.3048, allocations: 484.2 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.3049, allocations: 166.2 kB / 437.4 MB, free: 400 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.3056, allocations: 0.513 MB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3056, allocations: 33.7 kB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3057, allocations: 105 kB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.3057, allocations: 23.84 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3059, allocations: 81.52 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.306, allocations: 330.8 kB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3061, allocations: 55.97 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3063, allocations: 81.61 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.3066, allocations: 335.3 kB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3066, allocations: 0 / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005356/0.3072, allocations: 371.8 kB / 439.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.3073, allocations: 126.8 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3073, allocations: 3.984 kB / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3073, allocations: 0 / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/0.3073, allocations: 4 kB / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3073, allocations: 4.031 kB / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.3075, allocations: 11.95 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.3075, allocations: 43.98 kB / 439.5 MB, free: 14.15 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.0003681/0.3079, allocations: 366.4 kB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.3079, allocations: 35.81 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.3081, allocations: 63.09 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3081, allocations: 0 / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3081, allocations: 4 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3081, allocations: 4 kB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3091, allocations: 0.7967 MB / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3091, allocations: 0 / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.3091, allocations: 0 / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3091, allocations: 0 / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.3091, allocations: 19.92 kB / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3091, allocations: 0 / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.3091, allocations: 3.938 kB / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.3099, allocations: 0.5332 MB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.3103, allocations: 193.4 kB / 441.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.3103, allocations: 12 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3105, allocations: 11.98 kB / 441.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3106, allocations: 27.91 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.3106, allocations: 47.94 kB / 441.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000484/0.3111, allocations: 386.9 kB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3111, allocations: 0 / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.3114, allocations: 40 kB / 442 MB, free: 11.48 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.001039/0.3124, allocations: 1.097 MB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.3129, allocations: 369.5 kB / 443.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3129, allocations: 3.938 kB / 443.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.3132, allocations: 297.6 kB / 443.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.3138, allocations: 134.5 kB / 443.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.3174, allocations: 2.746 MB / 446.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.318, allocations: 0.8067 MB / 447.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.318, allocations: 4.672 kB / 447.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.3181, allocations: 23.44 kB / 447.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3181, allocations: 0 / 447.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.3516, allocations: 6.099 MB / 453.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.28, allocations: 13.25 kB / 453.6 MB, free: 15.75 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/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: 13.964965668001241]