Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.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.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.0008928, allocations: 99.59 kB / 17.3 MB, free: 6.344 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.0008194/0.0008195, allocations: 177.5 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0005946/0.0005947, allocations: 16.42 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1529, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002893/0.1559, allocations: 1.504 MB / 330.5 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.1586, allocations: 1.022 MB / 331.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.1588, allocations: 0 / 331.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.159, allocations: 23.86 kB / 331.5 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1591, allocations: 27.77 kB / 331.5 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.1595, allocations: 87.91 kB / 331.6 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.1599, allocations: 251.3 kB / 331.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.1602, allocations: 49.67 kB / 331.9 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008782/0.1611, allocations: 0.7134 MB / 332.6 MB, free: 60 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.1614, allocations: 143.4 kB / 332.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.1615, allocations: 4 kB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-05/0.1615, allocations: 8 kB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.1618, allocations: 131.4 kB / 332.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.1621, allocations: 252 kB / 333.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.1628, allocations: 0.7162 MB / 333.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1628, allocations: 4 kB / 333.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1629, allocations: 0 / 333.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1629, allocations: 0 / 333.9 MB, free: 14.8 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.00123/0.1641, allocations: 1.037 MB / 334.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1642, allocations: 8.031 kB / 334.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1643, allocations: 83.98 kB / 335 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.1647, allocations: 392.2 kB / 335.4 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.1648, allocations: 12.56 kB / 335.4 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.1649, allocations: 20.38 kB / 335.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.1654, allocations: 254.2 kB / 335.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1654, allocations: 0 / 335.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.1655, allocations: 15.94 kB / 335.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1655, allocations: 4 kB / 335.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.1658, allocations: 132.2 kB / 335.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1671, allocations: 0.7348 MB / 336.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.1676, allocations: 202.4 kB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.168, allocations: 180.8 kB / 336.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.168, allocations: 0 / 336.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/0.1687, allocations: 389.8 kB / 337.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.325e-06/0.1687, allocations: 0 / 337.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001812/0.1705, allocations: 0.9247 MB / 338.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002635/0.1708, allocations: 281 kB / 338.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.1724, allocations: 0.949 MB / 339.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.1725, allocations: 37.7 kB / 339.5 MB, free: 8.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1726, allocations: 134 kB / 339.6 MB, free: 8.676 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.1727, allocations: 67.25 kB / 339.7 MB, free: 8.609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.1728, allocations: 41.69 kB / 339.7 MB, free: 8.562 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.173, allocations: 338.8 kB / 340.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.1733, allocations: 120.2 kB / 340.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.1736, allocations: 163.8 kB / 340.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008294/0.1745, allocations: 0.706 MB / 341 MB, free: 7.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1745, allocations: 3.938 kB / 341 MB, free: 7.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001214/0.1757, allocations: 0.7526 MB / 341.8 MB, free: 6.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.1759, allocations: 241.6 kB / 342 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1759, allocations: 0 / 342 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.746e-05/0.176, allocations: 4 kB / 342 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.176, allocations: 15.92 kB / 342 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.176, allocations: 4.094 kB / 342.1 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.1764, allocations: 35.91 kB / 342.1 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.1766, allocations: 108.1 kB / 342.2 MB, free: 5.852 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0008346/0.1774, allocations: 0.6045 MB / 342.8 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1775, allocations: 79.06 kB / 342.9 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1778, allocations: 126.9 kB / 343 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1778, allocations: 4 kB / 343 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1778, allocations: 0 / 343 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1778, allocations: 7.922 kB / 343 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.18, allocations: 1.425 MB / 344.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.18, allocations: 4 kB / 344.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.18, allocations: 4 kB / 344.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.18, allocations: 3.984 kB / 344.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.1801, allocations: 27.98 kB / 344.5 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1801, allocations: 0 / 344.5 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/0.1801, allocations: 8 kB / 344.5 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1815, allocations: 0.9688 MB / 345.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006553/0.1822, allocations: 415.7 kB / 345.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1823, allocations: 20 kB / 345.9 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.1826, allocations: 31.97 kB / 345.9 MB, free: 1.879 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.1828, allocations: 51.94 kB / 346 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.183, allocations: 119.8 kB / 346.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001136/0.1841, allocations: 0.6938 MB / 346.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1841, allocations: 0 / 346.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.1846, allocations: 99.84 kB / 346.9 MB, free: 0.9219 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0002804/0.1849, allocations: 139.2 kB / 347 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.1861, allocations: 0.8857 MB / 347.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1861, allocations: 4.188 kB / 347.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.1869, allocations: 0.7491 MB / 348.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.1881, allocations: 238.7 kB / 348.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.1906, allocations: 1.502 MB / 350.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.1914, allocations: 0.9479 MB / 351.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.1917, allocations: 97.28 kB / 351.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1918, allocations: 43.36 kB / 351.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.614e-06/0.1918, allocations: 0 / 351.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01646/0.2083, allocations: 8.393 MB / 359.9 MB, free: 3.652 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches