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.001322/0.001328, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.001549/0.001549, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.495/1.495, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 50.77 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 49.45 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002608/0.1385, allocations: 1.497 MB / 351.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1403, allocations: 0.8512 MB / 352.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.1403, allocations: 0 / 352.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.542e-05/0.1404, allocations: 15.86 kB / 352.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.1405, allocations: 19.84 kB / 352.6 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1408, allocations: 51.88 kB / 352.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.141, allocations: 155.7 kB / 352.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1411, allocations: 15.98 kB / 352.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.1415, allocations: 387.3 kB / 353.1 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1416, allocations: 59.77 kB / 353.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.1417, allocations: 15.98 kB / 353.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.1417, allocations: 8 kB / 353.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.589e-05/0.1418, allocations: 63.77 kB / 353.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.142, allocations: 119.1 kB / 353.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1423, allocations: 350.8 kB / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1423, allocations: 0 / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1423, allocations: 0 / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1423, allocations: 0 / 353.7 MB, free: 0.7266 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.0007532/0.1431, allocations: 0.727 MB / 354.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1431, allocations: 8.031 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.1432, allocations: 42.73 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.1432, allocations: 36.47 kB / 354.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1435, allocations: 278.3 kB / 354.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1436, allocations: 4.375 kB / 354.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1436, allocations: 12.38 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.1439, allocations: 125.7 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.1439, allocations: 3.938 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1439, allocations: 7.984 kB / 355 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.144, allocations: 4 kB / 355 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1441, allocations: 55.97 kB / 355 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.1448, allocations: 460.5 kB / 355.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.145, allocations: 102.5 kB / 355.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1451, allocations: 80.89 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1451, allocations: 0 / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.1455, allocations: 206.7 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1455, allocations: 0 / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008316/0.1464, allocations: 475.3 kB / 356.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1465, allocations: 166.2 kB / 356.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.1471, allocations: 0.5129 MB / 357 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.1471, allocations: 33.7 kB / 357 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.1472, allocations: 97.12 kB / 357.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1473, allocations: 27.66 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1474, allocations: 85.41 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1475, allocations: 330.8 kB / 357.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1476, allocations: 51.97 kB / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1478, allocations: 77.62 kB / 357.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.1481, allocations: 335.3 kB / 358 MB, free: 12.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1481, allocations: 0 / 358 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005118/0.1486, allocations: 384.2 kB / 358.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.1487, allocations: 129.6 kB / 358.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1487, allocations: 0 / 358.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1488, allocations: 3.984 kB / 358.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.1488, allocations: 4 kB / 358.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1488, allocations: 3.984 kB / 358.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1489, allocations: 8 kB / 358.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.149, allocations: 40 kB / 358.6 MB, free: 11.45 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.0002958/0.1493, allocations: 366.4 kB / 358.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.1493, allocations: 47.66 kB / 359 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.1494, allocations: 71.08 kB / 359.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1495, allocations: 4 kB / 359.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1495, allocations: 3.938 kB / 359.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1495, allocations: 0 / 359.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.1503, allocations: 0.8095 MB / 359.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1504, allocations: 0 / 359.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-06/0.1504, allocations: 0 / 359.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1504, allocations: 0 / 359.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.1504, allocations: 19.98 kB / 359.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1504, allocations: 0 / 359.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1504, allocations: 3.938 kB / 359.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.151, allocations: 0.5325 MB / 360.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.1513, allocations: 244.4 kB / 360.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.1514, allocations: 8 kB / 360.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1515, allocations: 11.98 kB / 360.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1516, allocations: 27.92 kB / 360.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.1517, allocations: 51.92 kB / 360.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004283/0.1521, allocations: 386.9 kB / 361.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1521, allocations: 4 kB / 361.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1524, allocations: 43.94 kB / 361.2 MB, free: 8.668 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.0008962/0.1533, allocations: 1.093 MB / 362.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.1538, allocations: 433.5 kB / 362.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1538, allocations: 0 / 362.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.1541, allocations: 377.5 kB / 363.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.1547, allocations: 124.1 kB / 363.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.1581, allocations: 2.739 MB / 365.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.1587, allocations: 0.8022 MB / 366.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.351e-05/0.1588, allocations: 12.64 kB / 366.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.1588, allocations: 31.42 kB / 366.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of SimCode: time 2.104e-06/0.1589, allocations: 0 / 366.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/0.3935, allocations: 5.861 MB / 372.6 MB, free: 25.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.884, allocations: 4.938 kB / 372.7 MB, free: 25.36 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 & /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 --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) 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) Reference file matches