Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.264, allocations: 50.54 MB / 408.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002626/0.2667, allocations: 1.532 MB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.2687, allocations: 0.881 MB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.2688, allocations: 3.938 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.2689, allocations: 11.92 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.269, allocations: 11.88 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.2693, allocations: 51.88 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.2695, allocations: 151.7 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.2696, allocations: 19.97 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.2701, allocations: 391.3 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2702, allocations: 67.75 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.2703, allocations: 8 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.2703, allocations: 12 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.188e-05/0.2704, allocations: 63.64 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2705, allocations: 111.2 kB / 412.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.2709, allocations: 365.4 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2709, allocations: 0 / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.271, allocations: 4 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.271, allocations: 0 / 412.4 MB, free: 13.9 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.0008021/0.2718, allocations: 0.7344 MB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2718, allocations: 8.031 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.2719, allocations: 42.69 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.272, allocations: 40.7 kB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.2722, allocations: 274.7 kB / 413.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2723, allocations: 4.375 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.2723, allocations: 8.375 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.2726, allocations: 125.7 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2726, allocations: 0 / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.2727, allocations: 12 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2727, allocations: 0 / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.2728, allocations: 59.91 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.2735, allocations: 468.5 kB / 414.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.2737, allocations: 94.48 kB / 414.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2738, allocations: 84.89 kB / 414.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.2739, allocations: 4 kB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.2742, allocations: 202.6 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2742, allocations: 0 / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008202/0.2751, allocations: 472.2 kB / 415 MB, free: 11.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.2752, allocations: 170.2 kB / 415.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.2759, allocations: 0.5168 MB / 415.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.2759, allocations: 29.7 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.276, allocations: 101.1 kB / 415.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.276, allocations: 23.84 kB / 415.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2762, allocations: 89.5 kB / 415.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2763, allocations: 326.8 kB / 416.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2764, allocations: 55.97 kB / 416.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2766, allocations: 69.69 kB / 416.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.277, allocations: 347.2 kB / 416.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.277, allocations: 112 / 416.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005282/0.2775, allocations: 392 kB / 417.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.001e-05/0.2776, allocations: 118.8 kB / 417.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2776, allocations: 7.984 kB / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2776, allocations: 0 / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.2777, allocations: 0 / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2777, allocations: 0 / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2778, allocations: 15.95 kB / 417.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.2779, allocations: 43.98 kB / 417.3 MB, free: 8.605 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.0003603/0.2782, allocations: 366.3 kB / 417.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.2783, allocations: 39.77 kB / 417.7 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2784, allocations: 63.14 kB / 417.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2784, allocations: 0 / 417.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2784, allocations: 0 / 417.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2784, allocations: 0 / 417.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.2794, allocations: 0.8172 MB / 418.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2794, allocations: 4 kB / 418.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-06/0.2794, allocations: 4 kB / 418.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2794, allocations: 0 / 418.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.2795, allocations: 15.98 kB / 418.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2795, allocations: 0 / 418.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2795, allocations: 3.938 kB / 418.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.2801, allocations: 0.5215 MB / 419.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.2804, allocations: 252.6 kB / 419.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.2805, allocations: 12 kB / 419.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2806, allocations: 15.98 kB / 419.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.2807, allocations: 27.89 kB / 419.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.2808, allocations: 47.94 kB / 419.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004566/0.2813, allocations: 386.9 kB / 419.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2813, allocations: 3.938 kB / 419.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.2816, allocations: 43.98 kB / 419.9 MB, free: 5.832 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.001002/0.2826, allocations: 1.09 MB / 421 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.2831, allocations: 441.5 kB / 421.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2831, allocations: 0 / 421.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.2835, allocations: 369.6 kB / 421.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.284, allocations: 126 kB / 421.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.2875, allocations: 2.759 MB / 424.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.288, allocations: 0.7983 MB / 425.4 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.2881, allocations: 8.656 kB / 425.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.2882, allocations: 27.42 kB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2882, allocations: 4 kB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.3149, allocations: 5.918 MB / 431.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.275, allocations: 10.06 kB / 431.4 MB, free: 10.07 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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.0048 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches