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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001483/0.001483, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 47.42 kB / 300.7 MB, free: 5.695 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1138, allocations: 49.44 MB / 350.2 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003791/0.1177, allocations: 1.509 MB / 351.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1197, allocations: 0.8551 MB / 352.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.1198, allocations: 4 kB / 352.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1199, allocations: 7.875 kB / 352.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.051e-05/0.12, allocations: 19.84 kB / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1203, allocations: 51.83 kB / 352.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1205, allocations: 151.7 kB / 352.8 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1206, allocations: 27.97 kB / 352.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.1211, allocations: 375.3 kB / 353.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1213, allocations: 67.77 kB / 353.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.1213, allocations: 8 kB / 353.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.1214, allocations: 8 kB / 353.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1215, allocations: 63.77 kB / 353.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1216, allocations: 127.1 kB / 353.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.1221, allocations: 346.8 kB / 353.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1221, allocations: 0 / 353.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1221, allocations: 0 / 353.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1221, allocations: 0 / 353.8 MB, free: 0.625 MB / 286.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.0009034/0.123, allocations: 0.7269 MB / 354.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1231, allocations: 12.03 kB / 354.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.1231, allocations: 38.75 kB / 354.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.1232, allocations: 40.47 kB / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1235, allocations: 274.3 kB / 354.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1235, allocations: 4.375 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1235, allocations: 8.375 kB / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.1238, allocations: 133.7 kB / 355 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1238, allocations: 0 / 355 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1239, allocations: 11.94 kB / 355 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1239, allocations: 0 / 355 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.124, allocations: 55.97 kB / 355.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.1247, allocations: 460.5 kB / 355.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1249, allocations: 94.48 kB / 355.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.125, allocations: 84.89 kB / 355.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.125, allocations: 0 / 355.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.1254, allocations: 214.3 kB / 355.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.1255, allocations: 0 / 355.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000798/0.1263, allocations: 476 kB / 356.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.1264, allocations: 162.2 kB / 356.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.127, allocations: 0.5168 MB / 357 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1271, allocations: 29.7 kB / 357.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1271, allocations: 101.1 kB / 357.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.1272, allocations: 31.64 kB / 357.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1273, allocations: 81.42 kB / 357.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1275, allocations: 326.8 kB / 357.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1276, allocations: 55.97 kB / 357.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1277, allocations: 77.61 kB / 357.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.1281, allocations: 339.3 kB / 358 MB, free: 11.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1282, allocations: 3.938 kB / 358 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005647/0.1287, allocations: 380.2 kB / 358.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.1288, allocations: 126.8 kB / 358.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1288, allocations: 0 / 358.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.1289, allocations: 4 kB / 358.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.218e-05/0.1289, allocations: 0 / 358.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1289, allocations: 0 / 358.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.1291, allocations: 15.98 kB / 358.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.1292, allocations: 40 kB / 358.6 MB, free: 11.35 MB / 302.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.0003724/0.1296, allocations: 366.2 kB / 359 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.1296, allocations: 43.56 kB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.1298, allocations: 63.27 kB / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1298, allocations: 3.938 kB / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1298, allocations: 0 / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1298, allocations: 3.984 kB / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1309, allocations: 0.8165 MB / 359.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1309, allocations: 0 / 359.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.1309, allocations: 4 kB / 359.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1309, allocations: 0 / 359.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.131, allocations: 16 kB / 359.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.131, allocations: 0 / 359.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.131, allocations: 3.938 kB / 359.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.1316, allocations: 0.5251 MB / 360.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.132, allocations: 244.4 kB / 360.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.132, allocations: 16.23 kB / 360.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1322, allocations: 8 kB / 360.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.1323, allocations: 31.91 kB / 360.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.1324, allocations: 47.94 kB / 360.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000474/0.1329, allocations: 390.9 kB / 361.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1329, allocations: 0 / 361.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.1332, allocations: 43.94 kB / 361.2 MB, free: 8.57 MB / 302.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.001031/0.1342, allocations: 1.089 MB / 362.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.1348, allocations: 433.5 kB / 362.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1348, allocations: 0 / 362.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.1352, allocations: 377.5 kB / 363.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.1358, allocations: 127.8 kB / 363.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.1394, allocations: 2.735 MB / 365.9 MB, free: 3.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.14, allocations: 0.8061 MB / 366.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.682e-05/0.1401, allocations: 12.66 kB / 366.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.1402, allocations: 27.42 kB / 366.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1402, allocations: 0 / 366.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/0.3175, allocations: 5.867 MB / 372.7 MB, free: 25.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.296, allocations: 6.609 kB / 372.7 MB, free: 25.75 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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.0048 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches