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.00158/0.00158, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001716, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2918, allocations: 50.54 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002324/0.2941, allocations: 1.533 MB / 410.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2959, allocations: 0.8809 MB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.296, allocations: 4 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.042e-05/0.2961, allocations: 3.938 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.2962, allocations: 23.8 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2964, allocations: 51.88 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.2966, allocations: 147.7 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.2967, allocations: 27.97 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.2971, allocations: 395.2 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.2972, allocations: 63.77 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.2973, allocations: 12 kB / 411.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.2973, allocations: 12 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.2974, allocations: 67.64 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.2975, allocations: 111.2 kB / 412.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.2978, allocations: 361.5 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2979, allocations: 0 / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2979, allocations: 0 / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2979, allocations: 0 / 412.4 MB, free: 13.89 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.0006781/0.2985, allocations: 0.7305 MB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2986, allocations: 8.031 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.2986, allocations: 46.73 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.2987, allocations: 40.7 kB / 413.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.299, allocations: 274.7 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.299, allocations: 4.375 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2991, allocations: 12.36 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.2994, allocations: 125.7 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2994, allocations: 4 kB / 413.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.2994, allocations: 4 kB / 413.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2994, allocations: 4 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.2996, allocations: 51.97 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.3003, allocations: 472.4 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3005, allocations: 90.55 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3007, allocations: 88.88 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.3007, allocations: 0 / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.3011, allocations: 202.6 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3011, allocations: 4 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007595/0.3018, allocations: 475.7 kB / 415 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.3019, allocations: 166.2 kB / 415.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/0.3025, allocations: 0.5207 MB / 415.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3026, allocations: 29.7 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.3026, allocations: 97.08 kB / 415.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3027, allocations: 31.83 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3028, allocations: 85.52 kB / 415.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3029, allocations: 330.8 kB / 416.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.303, allocations: 51.97 kB / 416.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3031, allocations: 77.67 kB / 416.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.3035, allocations: 339.2 kB / 416.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3035, allocations: 112 / 416.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004927/0.304, allocations: 376.3 kB / 417.1 MB, free: 8.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.149e-05/0.3041, allocations: 130.8 kB / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3041, allocations: 0 / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3041, allocations: 0 / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.3041, allocations: 3.938 kB / 417.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3041, allocations: 4 kB / 417.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3043, allocations: 15.94 kB / 417.2 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.3043, allocations: 44 kB / 417.3 MB, free: 8.598 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.0003147/0.3046, allocations: 370.3 kB / 417.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.3047, allocations: 39.77 kB / 417.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.3048, allocations: 63.16 kB / 417.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3048, allocations: 7.984 kB / 417.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3048, allocations: 0 / 417.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3048, allocations: 0 / 417.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008803/0.3057, allocations: 0.8211 MB / 418.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3057, allocations: 0 / 418.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.3057, allocations: 0 / 418.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3057, allocations: 0 / 418.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.3058, allocations: 19.98 kB / 418.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3058, allocations: 0 / 418.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3058, allocations: 7.938 kB / 418.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.3064, allocations: 0.521 MB / 419.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.3067, allocations: 244.6 kB / 419.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.3068, allocations: 12 kB / 419.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3069, allocations: 8 kB / 419.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.307, allocations: 27.91 kB / 419.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.307, allocations: 47.92 kB / 419.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004223/0.3075, allocations: 390.9 kB / 419.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.3075, allocations: 0 / 419.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3078, allocations: 47.94 kB / 419.9 MB, free: 5.824 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.0008927/0.3087, allocations: 1.086 MB / 421 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004973/0.3092, allocations: 441.5 kB / 421.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3092, allocations: 0 / 421.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.3095, allocations: 377.6 kB / 421.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.3101, allocations: 136.7 kB / 421.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.3133, allocations: 2.747 MB / 424.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.3138, allocations: 0.8022 MB / 425.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.167e-05/0.3139, allocations: 12.64 kB / 425.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.3139, allocations: 23.44 kB / 425.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3139, allocations: 0 / 425.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.3377, allocations: 5.914 MB / 431.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.733, allocations: 3.781 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.0.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