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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_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.0017/0.0017, allocations: 108.4 kB / 18.34 MB, free: 4.832 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.001836/0.001836, allocations: 190.9 kB / 19.28 MB, free: 3.898 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.662/1.662, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001427/0.001428, allocations: 48.14 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003642/0.1433, allocations: 1.512 MB / 330.2 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.1458, allocations: 0.8935 MB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.146, allocations: 0 / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1462, allocations: 11.86 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1463, allocations: 23.84 kB / 331.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1466, allocations: 47.89 kB / 331.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1469, allocations: 151.7 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.147, allocations: 27.98 kB / 331.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.1476, allocations: 379.3 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1477, allocations: 63.7 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.1478, allocations: 12 kB / 331.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.1478, allocations: 8 kB / 331.8 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1479, allocations: 71.69 kB / 331.9 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.148, allocations: 115.2 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.1485, allocations: 358.7 kB / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1485, allocations: 0 / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1485, allocations: 0 / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1485, allocations: 0 / 332.4 MB, free: 84 kB / 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.001001/0.1495, allocations: 0.7227 MB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1496, allocations: 8.031 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1497, allocations: 40.47 kB / 333.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.1501, allocations: 278.3 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.1502, allocations: 4.375 kB / 333.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1503, allocations: 12.38 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.1506, allocations: 125.9 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1507, allocations: 0 / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.1507, allocations: 4 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1507, allocations: 4 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.1509, allocations: 63.91 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.1519, allocations: 460.5 kB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1521, allocations: 94.55 kB / 334.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1523, allocations: 80.89 kB / 334.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1523, allocations: 3.938 kB / 334.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.1528, allocations: 210.5 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.1528, allocations: 4 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009323/0.1538, allocations: 468.1 kB / 334.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.1539, allocations: 170.2 kB / 335.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007438/0.1547, allocations: 0.5129 MB / 335.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1547, allocations: 33.7 kB / 335.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1548, allocations: 97.97 kB / 335.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.1549, allocations: 35.59 kB / 335.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.1551, allocations: 81.41 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1552, allocations: 326.8 kB / 336.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1554, allocations: 55.97 kB / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1555, allocations: 69.69 kB / 336.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.156, allocations: 347.6 kB / 336.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.156, allocations: 4 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005823/0.1566, allocations: 376.2 kB / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1567, allocations: 126.8 kB / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1567, allocations: 0 / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1567, allocations: 3.984 kB / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.1568, allocations: 0 / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1568, allocations: 3.938 kB / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.1569, allocations: 12 kB / 337.1 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.157, allocations: 39.98 kB / 337.2 MB, free: 10.86 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.0004714/0.1575, allocations: 374.2 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.1576, allocations: 35.62 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1577, allocations: 63.16 kB / 337.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1577, allocations: 0 / 337.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1577, allocations: 112 / 337.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1577, allocations: 7.938 kB / 337.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1589, allocations: 0.8133 MB / 338.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1589, allocations: 0 / 338.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-06/0.1589, allocations: 3.938 kB / 338.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1589, allocations: 4 kB / 338.4 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.1589, allocations: 11.98 kB / 338.5 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.159, allocations: 4.188 kB / 338.5 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.159, allocations: 3.938 kB / 338.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.1598, allocations: 0.5175 MB / 339 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.1602, allocations: 252.3 kB / 339.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.1603, allocations: 12 kB / 339.2 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1604, allocations: 11.98 kB / 339.3 MB, free: 8.578 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1606, allocations: 35.91 kB / 339.3 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.1606, allocations: 39.94 kB / 339.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005775/0.1612, allocations: 390.8 kB / 339.7 MB, free: 8.121 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1612, allocations: 0 / 339.7 MB, free: 8.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.1615, allocations: 48 kB / 339.8 MB, free: 8.074 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.0002189/0.1618, allocations: 119 kB / 339.9 MB, free: 7.949 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.1625, allocations: 433.5 kB / 340.3 MB, free: 7.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1625, allocations: 4.062 kB / 340.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.1629, allocations: 373.6 kB / 340.7 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.1636, allocations: 110.7 kB / 340.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1649, allocations: 0.6498 MB / 341.4 MB, free: 6.273 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.1655, allocations: 0.7983 MB / 342.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.1656, allocations: 12.64 kB / 342.2 MB, free: 5.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.1656, allocations: 15.44 kB / 342.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1656, allocations: 4 kB / 342.3 MB, free: 5.41 MB / 286.1 MB Notification: Performance of Templates: time 0.01003/0.1756, allocations: 4.523 MB / 346.8 MB, free: 0.8477 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/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