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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.002445/0.002445, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.765/2.765, allocations: 222.9 MB / 241.7 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 46.44 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1745, allocations: 49.45 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.005261/0.1798, allocations: 1.575 MB / 351.6 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.1834, allocations: 0.8733 MB / 352.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.1836, allocations: 0 / 352.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1838, allocations: 11.92 kB / 352.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.184, allocations: 11.92 kB / 352.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.1844, allocations: 43.91 kB / 352.6 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1846, allocations: 115.7 kB / 352.7 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1848, allocations: 19.98 kB / 352.7 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.1854, allocations: 383.2 kB / 353.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1856, allocations: 67.75 kB / 353.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.1856, allocations: 4 kB / 353.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/0.1857, allocations: 4 kB / 353.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1858, allocations: 67.7 kB / 353.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1859, allocations: 107.2 kB / 353.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1863, allocations: 291.3 kB / 353.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1863, allocations: 0 / 353.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1863, allocations: 0 / 353.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1863, allocations: 4 kB / 353.6 MB, free: 1.266 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.0008802/0.1872, allocations: 0.7191 MB / 354.3 MB, free: 484 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1872, allocations: 12.02 kB / 354.3 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.318e-05/0.1873, allocations: 40.47 kB / 354.4 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.1877, allocations: 274.3 kB / 354.6 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1877, allocations: 4.375 kB / 354.6 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1878, allocations: 12.36 kB / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.1881, allocations: 121.9 kB / 354.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1882, allocations: 3.938 kB / 354.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.1882, allocations: 19.97 kB / 354.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1882, allocations: 0 / 354.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1884, allocations: 55.95 kB / 354.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/0.1892, allocations: 460.5 kB / 355.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1894, allocations: 94.48 kB / 355.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.1896, allocations: 92.88 kB / 355.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1896, allocations: 0 / 355.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.19, allocations: 201.3 kB / 355.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.19, allocations: 0 / 355.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008814/0.1909, allocations: 463.9 kB / 356.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1911, allocations: 166.2 kB / 356.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007159/0.1918, allocations: 0.5285 MB / 356.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1918, allocations: 29.81 kB / 356.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.1919, allocations: 101.1 kB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.192, allocations: 27.64 kB / 357 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1921, allocations: 81.42 kB / 357.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1922, allocations: 326.8 kB / 357.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1924, allocations: 55.97 kB / 357.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1925, allocations: 81.61 kB / 357.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.1929, allocations: 335.3 kB / 357.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1929, allocations: 0 / 357.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005908/0.1935, allocations: 395.5 kB / 358.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.374e-05/0.1936, allocations: 118.8 kB / 358.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1936, allocations: 4 kB / 358.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1937, allocations: 0 / 358.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-05/0.1937, allocations: 0 / 358.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1937, allocations: 0 / 358.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.194, allocations: 20.14 kB / 358.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.194, allocations: 44 kB / 358.4 MB, free: 12.04 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.0003662/0.1944, allocations: 362.2 kB / 358.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1945, allocations: 39.53 kB / 358.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1946, allocations: 63.14 kB / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1946, allocations: 0 / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1946, allocations: 0 / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1946, allocations: 0 / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1957, allocations: 0.8212 MB / 359.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1957, allocations: 0 / 359.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-06/0.1957, allocations: 3.938 kB / 359.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1957, allocations: 0 / 359.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.1958, allocations: 11.98 kB / 359.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1958, allocations: 4 kB / 359.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1958, allocations: 3.938 kB / 359.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.1965, allocations: 0.5329 MB / 360.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.1968, allocations: 244.4 kB / 360.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.1969, allocations: 8 kB / 360.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1971, allocations: 12 kB / 360.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1973, allocations: 31.84 kB / 360.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.1973, allocations: 47.92 kB / 360.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005066/0.1979, allocations: 386.9 kB / 361 MB, free: 9.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1979, allocations: 0 / 361 MB, free: 9.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.1982, allocations: 47.94 kB / 361 MB, free: 9.262 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.000171/0.1984, allocations: 126.9 kB / 361.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.199, allocations: 437.6 kB / 361.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.199, allocations: 0 / 361.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.1994, allocations: 373.7 kB / 361.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.2001, allocations: 115.5 kB / 362 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2014, allocations: 0.7938 MB / 362.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.2019, allocations: 0.8064 MB / 363.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.2019, allocations: 11.44 kB / 363.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2019, allocations: 0 / 363.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of Templates: time 0.005431/0.2074, allocations: 2.571 MB / 366.2 MB, free: 3.867 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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