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.001245/0.001245, allocations: 109.5 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.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.001448/0.001448, allocations: 184.4 kB / 23.72 MB, free: 4.699 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.4/1.4, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001721/0.001721, allocations: 51.92 kB / 370.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2657, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003495/0.2692, allocations: 1.524 MB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2713, allocations: 0.8615 MB / 425 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.2714, allocations: 0 / 425 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.2715, allocations: 7.875 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.2716, allocations: 19.84 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.272, allocations: 55.89 kB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2723, allocations: 139.7 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2724, allocations: 19.98 kB / 425.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.273, allocations: 395.2 kB / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2731, allocations: 67.7 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.2732, allocations: 12 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.341e-05/0.2732, allocations: 8 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2733, allocations: 63.7 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2735, allocations: 111.2 kB / 425.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.2739, allocations: 366.9 kB / 426.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2739, allocations: 0 / 426.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2739, allocations: 3.984 kB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2739, allocations: 0 / 426.3 MB, free: 10.96 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.0008803/0.2748, allocations: 0.6668 MB / 426.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2749, allocations: 12.02 kB / 426.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.569e-05/0.2749, allocations: 38.75 kB / 427 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.275e-05/0.275, allocations: 40.7 kB / 427 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.2753, allocations: 212.9 kB / 427.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2753, allocations: 8.375 kB / 427.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.2754, allocations: 8.359 kB / 427.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.2758, allocations: 129.7 kB / 427.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2758, allocations: 0 / 427.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.2758, allocations: 8 kB / 427.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.2758, allocations: 0 / 427.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.2759, allocations: 55.97 kB / 427.4 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.2767, allocations: 435.5 kB / 427.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2769, allocations: 78.42 kB / 427.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.277, allocations: 56.89 kB / 428 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.277, allocations: 8 kB / 428 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.2774, allocations: 198.7 kB / 428.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.2774, allocations: 0 / 428.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008615/0.2783, allocations: 468.1 kB / 428.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.2784, allocations: 166.2 kB / 428.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.2791, allocations: 0.513 MB / 429.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.2791, allocations: 29.7 kB / 429.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.2792, allocations: 105.1 kB / 429.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.2793, allocations: 27.81 kB / 429.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.2794, allocations: 81.55 kB / 429.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2796, allocations: 322.8 kB / 429.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2797, allocations: 59.97 kB / 429.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2798, allocations: 69.62 kB / 430 MB, free: 6.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.2802, allocations: 347.5 kB / 430.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2802, allocations: 3.938 kB / 430.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005476/0.2807, allocations: 383.5 kB / 430.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-05/0.2808, allocations: 118.8 kB / 430.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2808, allocations: 8 kB / 430.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2808, allocations: 0 / 430.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.666e-05/0.2808, allocations: 0 / 430.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2809, allocations: 0 / 430.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.281, allocations: 15.98 kB / 430.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.281, allocations: 43.94 kB / 430.9 MB, free: 5.93 MB / 334.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.0003872/0.2814, allocations: 366.3 kB / 431.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2815, allocations: 35.77 kB / 431.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.2816, allocations: 75.06 kB / 431.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2816, allocations: 0 / 431.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2816, allocations: 0 / 431.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2816, allocations: 0 / 431.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2827, allocations: 0.7812 MB / 432.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2827, allocations: 4 kB / 432.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-06/0.2827, allocations: 4 kB / 432.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2827, allocations: 0 / 432.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.2827, allocations: 15.98 kB / 432.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2827, allocations: 0 / 432.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2827, allocations: 3.938 kB / 432.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.2835, allocations: 0.5254 MB / 432.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.2839, allocations: 209.4 kB / 432.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.2839, allocations: 12 kB / 432.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.284, allocations: 12 kB / 432.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.2842, allocations: 39.83 kB / 433 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.2842, allocations: 43.92 kB / 433 MB, free: 3.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005336/0.2848, allocations: 386.9 kB / 433.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2848, allocations: 0 / 433.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.2851, allocations: 44 kB / 433.4 MB, free: 3.246 MB / 334.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.00109/0.2862, allocations: 1.086 MB / 434.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.2867, allocations: 377.5 kB / 434.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2867, allocations: 0 / 434.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.287, allocations: 301.6 kB / 435.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.2876, allocations: 125.8 kB / 435.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.2915, allocations: 2.755 MB / 438.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.2921, allocations: 0.7983 MB / 438.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.038e-05/0.2922, allocations: 8.656 kB / 438.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.2923, allocations: 27.42 kB / 438.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2923, allocations: 4 kB / 438.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.3285, allocations: 6.084 MB / 445 MB, free: 7.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.58, allocations: 4 kB / 445 MB, free: 7.523 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.952365102013573]