Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 104.5 kB / 17.58 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 191.9 kB / 18.51 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 56.52 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.0925, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003142/0.09568, allocations: 1.505 MB / 328.9 MB, free: 2.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.0977, allocations: 0.8974 MB / 329.8 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.0978, allocations: 4 kB / 329.8 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.09794, allocations: 3.938 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.09804, allocations: 19.8 kB / 329.8 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.09834, allocations: 51.88 kB / 329.9 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.09859, allocations: 147.8 kB / 330 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.09872, allocations: 23.98 kB / 330 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.09923, allocations: 375.3 kB / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.09939, allocations: 71.69 kB / 330.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.09945, allocations: 11.94 kB / 330.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.09949, allocations: 15.94 kB / 330.5 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.0996, allocations: 59.77 kB / 330.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.09975, allocations: 115.2 kB / 330.7 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.1001, allocations: 358.7 kB / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1001, allocations: 4 kB / 331 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1001, allocations: 4 kB / 331 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1002, allocations: 0 / 331 MB, free: 0.7148 MB / 270.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.0008307/0.101, allocations: 0.7191 MB / 331.7 MB, free: 15.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.101, allocations: 8.031 kB / 331.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.1011, allocations: 38.75 kB / 331.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.1012, allocations: 40.47 kB / 331.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1015, allocations: 278.3 kB / 332.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1015, allocations: 4.375 kB / 332.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1015, allocations: 8.375 kB / 332.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.1019, allocations: 129.7 kB / 332.2 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1019, allocations: 0 / 332.2 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1019, allocations: 8 kB / 332.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1019, allocations: 0 / 332.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1021, allocations: 59.91 kB / 332.3 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.1028, allocations: 460.5 kB / 332.8 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.103, allocations: 94.55 kB / 332.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.1032, allocations: 88.83 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1032, allocations: 3.984 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.1036, allocations: 206.7 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1036, allocations: 3.938 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007806/0.1044, allocations: 460 kB / 333.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.1045, allocations: 174.2 kB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006581/0.1052, allocations: 0.5168 MB / 334.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1052, allocations: 29.7 kB / 334.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.1053, allocations: 102 kB / 334.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1054, allocations: 31.69 kB / 334.4 MB, free: 13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1055, allocations: 77.42 kB / 334.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1056, allocations: 322.8 kB / 334.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1058, allocations: 59.97 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1059, allocations: 73.67 kB / 335 MB, free: 12.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.1063, allocations: 355.7 kB / 335.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1063, allocations: 0 / 335.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005622/0.1069, allocations: 372.2 kB / 335.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-05/0.107, allocations: 130.7 kB / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.107, allocations: 0 / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.107, allocations: 0 / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.107, allocations: 7.969 kB / 335.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1071, allocations: 4 kB / 335.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1072, allocations: 15.98 kB / 335.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.1073, allocations: 36 kB / 335.9 MB, free: 11.45 MB / 286.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.0003774/0.1077, allocations: 370.4 kB / 336.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.1077, allocations: 35.62 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.1079, allocations: 63.16 kB / 336.3 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1079, allocations: 0 / 336.3 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1079, allocations: 4 kB / 336.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1079, allocations: 7.984 kB / 336.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1089, allocations: 0.8094 MB / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1089, allocations: 0 / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-06/0.1089, allocations: 0 / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1089, allocations: 0 / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.109, allocations: 16 kB / 337.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.109, allocations: 0 / 337.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.109, allocations: 7.875 kB / 337.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.1097, allocations: 0.5253 MB / 337.7 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.11, allocations: 248.3 kB / 337.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.11, allocations: 15.98 kB / 337.9 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1102, allocations: 8 kB / 338 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1103, allocations: 35.84 kB / 338 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.1104, allocations: 39.94 kB / 338 MB, free: 9.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005237/0.1109, allocations: 390.9 kB / 338.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1109, allocations: 0 / 338.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.1113, allocations: 48 kB / 338.5 MB, free: 8.664 MB / 286.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.001066/0.1123, allocations: 1.078 MB / 339.5 MB, free: 7.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.1129, allocations: 437.5 kB / 340 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1129, allocations: 4 kB / 340 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.1133, allocations: 377.6 kB / 340.3 MB, free: 6.637 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.114, allocations: 131 kB / 340.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.1178, allocations: 2.72 MB / 343.2 MB, free: 3.676 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.1182, allocations: 0.8019 MB / 344 MB, free: 2.844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.947e-05/0.1183, allocations: 8.656 kB / 344 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.1184, allocations: 27.42 kB / 344 MB, free: 2.809 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1184, allocations: 3.938 kB / 344 MB, free: 2.805 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1434, allocations: 5.891 MB / 349.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.654, allocations: 3.938 kB / 349.9 MB, free: 12.8 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches