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.001368/0.001368, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001572/0.001572, allocations: 209.8 kB / 23.73 MB, free: 4.523 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.00152/0.00152, allocations: 51.91 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2933, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002789/0.2961, allocations: 1.499 MB / 432.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2981, allocations: 0.8265 MB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.2981, allocations: 4 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.2982, allocations: 15.86 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.2983, allocations: 19.86 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.2986, allocations: 51.88 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.2988, allocations: 135.7 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2989, allocations: 19.98 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004832/0.2994, allocations: 399.2 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2996, allocations: 71.75 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.2996, allocations: 8 kB / 434.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.663e-05/0.2996, allocations: 12 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.2997, allocations: 67.7 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2999, allocations: 79.36 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.3003, allocations: 364.2 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3003, allocations: 0 / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3003, allocations: 0 / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3003, allocations: 0 / 434.6 MB, free: 3.082 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.0009158/0.3013, allocations: 0.659 MB / 435.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.3013, allocations: 16.02 kB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.3014, allocations: 38.75 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/0.3015, allocations: 36.7 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.3019, allocations: 216.9 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3019, allocations: 8.375 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.3019, allocations: 16.31 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.3024, allocations: 244.5 kB / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3024, allocations: 0 / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.3024, allocations: 4 kB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3024, allocations: 0 / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.3027, allocations: 182.7 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.3034, allocations: 415.5 kB / 436.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3037, allocations: 193.3 kB / 436.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.3039, allocations: 183.7 kB / 436.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.3039, allocations: 0 / 436.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004927/0.3044, allocations: 317.5 kB / 437.1 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.3044, allocations: 3.938 kB / 437.1 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009938/0.3054, allocations: 0.6955 MB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3055, allocations: 166.2 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.3062, allocations: 0.5207 MB / 438.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3063, allocations: 29.7 kB / 438.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.3063, allocations: 101.1 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.3064, allocations: 27.7 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.3065, allocations: 89.5 kB / 438.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3067, allocations: 322.8 kB / 439 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.307, allocations: 174.8 kB / 439.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.3072, allocations: 192.5 kB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.3076, allocations: 347.4 kB / 439.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3076, allocations: 7.938 kB / 439.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006322/0.3082, allocations: 0.4902 MB / 440.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.3083, allocations: 130.8 kB / 440.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3083, allocations: 0 / 440.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3083, allocations: 0 / 440.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.283e-05/0.3083, allocations: 4.031 kB / 440.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3083, allocations: 4 kB / 440.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3085, allocations: 12.08 kB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.3085, allocations: 43.98 kB / 440.4 MB, free: 12.63 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.0003737/0.3089, allocations: 374.2 kB / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.309, allocations: 39.77 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3091, allocations: 63.09 kB / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3091, allocations: 0 / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3091, allocations: 0 / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3091, allocations: 4 kB / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3102, allocations: 0.8856 MB / 441.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3102, allocations: 0 / 441.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.3102, allocations: 0 / 441.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3102, allocations: 3.984 kB / 441.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3103, allocations: 8 kB / 441.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3103, allocations: 7.984 kB / 441.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3103, allocations: 7.875 kB / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.3111, allocations: 0.6453 MB / 442.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.3115, allocations: 197.4 kB / 442.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.3115, allocations: 15.94 kB / 442.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3116, allocations: 15.98 kB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3118, allocations: 31.91 kB / 442.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.3118, allocations: 43.88 kB / 442.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004998/0.3123, allocations: 390.9 kB / 443.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3123, allocations: 0 / 443.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3126, allocations: 44 kB / 443.2 MB, free: 9.68 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.001166/0.3138, allocations: 1.206 MB / 444.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.3145, allocations: 0.6048 MB / 445 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3145, allocations: 4.062 kB / 445 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.3149, allocations: 428.4 kB / 445.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.3156, allocations: 134 kB / 445.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.3198, allocations: 3.344 MB / 448.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3201, allocations: 198.3 kB / 449.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.108e-05/0.3202, allocations: 4.672 kB / 449.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.3202, allocations: 31.42 kB / 449.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3202, allocations: 0 / 449.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.3552, allocations: 6.979 MB / 456.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.09, allocations: 6.516 kB / 456.1 MB, free: 12.4 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.573750718001975]