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.001398/0.001398, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002293/0.002293, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.001682/0.001682, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.272, allocations: 53.37 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002819/0.2748, allocations: 1.483 MB / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2768, allocations: 0.8381 MB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.2769, allocations: 4 kB / 433.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.71e-05/0.277, allocations: 11.88 kB / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.2771, allocations: 15.86 kB / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.2773, allocations: 55.88 kB / 433.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2775, allocations: 139.7 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.2776, allocations: 15.98 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.2781, allocations: 395.2 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2782, allocations: 71.64 kB / 434.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.2782, allocations: 8 kB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.898e-05/0.2783, allocations: 12 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.2784, allocations: 59.77 kB / 434.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2785, allocations: 83.36 kB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.2789, allocations: 368.1 kB / 434.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2789, allocations: 0 / 434.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2789, allocations: 0 / 434.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2789, allocations: 0 / 434.6 MB, free: 3.059 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.0008342/0.2797, allocations: 0.6629 MB / 435.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2798, allocations: 12.03 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.2798, allocations: 34.75 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.2799, allocations: 36.7 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.2802, allocations: 216.9 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.2802, allocations: 16.36 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.2802, allocations: 8.375 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.2806, allocations: 244.5 kB / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2806, allocations: 0 / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.2806, allocations: 7.984 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2806, allocations: 4 kB / 435.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.2808, allocations: 178.7 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.2815, allocations: 411.6 kB / 436.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.2818, allocations: 197.3 kB / 436.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.282, allocations: 183.7 kB / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.282, allocations: 0 / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.2824, allocations: 321.5 kB / 437.1 MB, free: 272 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2824, allocations: 0 / 437.1 MB, free: 272 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009995/0.2834, allocations: 0.6932 MB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.2835, allocations: 170.2 kB / 438 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/0.2842, allocations: 0.5168 MB / 438.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.2842, allocations: 29.7 kB / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.2843, allocations: 101.1 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2843, allocations: 23.84 kB / 438.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2845, allocations: 85.5 kB / 438.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2846, allocations: 330.8 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.2848, allocations: 178.7 kB / 439.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.285, allocations: 195.7 kB / 439.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.2854, allocations: 354.3 kB / 439.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2854, allocations: 0 / 439.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006174/0.286, allocations: 495.1 kB / 440.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.2861, allocations: 130.8 kB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2861, allocations: 0 / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2861, allocations: 3.938 kB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.2861, allocations: 8.156 kB / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2861, allocations: 0 / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2863, allocations: 15.95 kB / 440.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.2863, allocations: 48.03 kB / 440.4 MB, free: 12.6 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.0003648/0.2867, allocations: 362.2 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.2868, allocations: 39.77 kB / 440.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2869, allocations: 63.08 kB / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2869, allocations: 0 / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2869, allocations: 0 / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2869, allocations: 7.938 kB / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.288, allocations: 0.8895 MB / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.288, allocations: 3.984 kB / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.288, allocations: 0 / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.288, allocations: 0 / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.288, allocations: 12 kB / 441.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.288, allocations: 0 / 441.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.288, allocations: 3.938 kB / 441.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.2888, allocations: 0.6522 MB / 442.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.2891, allocations: 197.4 kB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.2892, allocations: 15.98 kB / 442.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2893, allocations: 12 kB / 442.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.2894, allocations: 35.89 kB / 442.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.2895, allocations: 43.94 kB / 442.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004892/0.29, allocations: 386.9 kB / 443.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.29, allocations: 4 kB / 443.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2903, allocations: 44 kB / 443.2 MB, free: 9.652 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.001128/0.2914, allocations: 1.206 MB / 444.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.2921, allocations: 0.6047 MB / 445 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2921, allocations: 64 / 445 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.2925, allocations: 428.4 kB / 445.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.2931, allocations: 128.9 kB / 445.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.2972, allocations: 3.34 MB / 448.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.2975, allocations: 194.3 kB / 449.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.2976, allocations: 8.656 kB / 449.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.2976, allocations: 27.42 kB / 449.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of SimCode: time 1.283e-06/0.2976, allocations: 7.938 kB / 449.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.3321, allocations: 6.96 MB / 456.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.44, allocations: 0 / 456.1 MB, free: 12.4 MB / 366.1 MB " [Timeout remaining time 648] (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.95174905192107]