Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_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.001197/0.001197, allocations: 115 kB / 17.69 MB, free: 5.309 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.001221/0.001222, allocations: 188 kB / 18.63 MB, free: 4.379 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.407/1.407, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 50.7 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1391, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003705/0.1428, allocations: 1.812 MB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1451, allocations: 0.9408 MB / 354.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.1452, allocations: 4 kB / 354.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1454, allocations: 27.72 kB / 354.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.1455, allocations: 39.66 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1459, allocations: 91.81 kB / 354.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1463, allocations: 323.3 kB / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1464, allocations: 41.67 kB / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.1472, allocations: 0.7175 MB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1474, allocations: 147.3 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.1475, allocations: 24 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.142e-05/0.1475, allocations: 20 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1477, allocations: 135.5 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.1479, allocations: 242.2 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.1486, allocations: 0.7473 MB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.1486, allocations: 0 / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1486, allocations: 3.938 kB / 356.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.1486, allocations: 4 kB / 356.8 MB, free: 14.38 MB / 302.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.001319/0.15, allocations: 1.165 MB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.15, allocations: 8.031 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.1502, allocations: 80.09 kB / 358 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.1507, allocations: 400.1 kB / 358.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1507, allocations: 12.56 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.1508, allocations: 20.38 kB / 358.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.1513, allocations: 253.4 kB / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1513, allocations: 0 / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.1514, allocations: 11.98 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1514, allocations: 8 kB / 358.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.1517, allocations: 136.1 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1529, allocations: 0.7387 MB / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.1533, allocations: 198.4 kB / 359.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.1536, allocations: 176.8 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.1536, allocations: 0 / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006096/0.1543, allocations: 397.9 kB / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.1543, allocations: 0 / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001527/0.1558, allocations: 0.9258 MB / 361.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.156, allocations: 281 kB / 361.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.1572, allocations: 0.9452 MB / 362.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.1573, allocations: 37.69 kB / 362.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1574, allocations: 130 kB / 362.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.1575, allocations: 71.19 kB / 362.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.1577, allocations: 173 kB / 362.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1578, allocations: 330.8 kB / 363.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.1581, allocations: 124.2 kB / 363.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.1584, allocations: 168.6 kB / 363.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.159, allocations: 0.7028 MB / 364.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.159, allocations: 3.938 kB / 364.2 MB, free: 6.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001144/0.1602, allocations: 0.7527 MB / 365 MB, free: 5.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.1604, allocations: 241.6 kB / 365.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1604, allocations: 0 / 365.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.1604, allocations: 4 kB / 365.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.1605, allocations: 8.078 kB / 365.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1605, allocations: 8 kB / 365.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1607, allocations: 27.92 kB / 365.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.1609, allocations: 108.1 kB / 365.4 MB, free: 5.18 MB / 302.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.0006519/0.1615, allocations: 0.6201 MB / 366 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.1616, allocations: 79.06 kB / 366.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.1618, allocations: 130.9 kB / 366.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1618, allocations: 0 / 366.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1619, allocations: 4 kB / 366.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1619, allocations: 3.984 kB / 366.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.1636, allocations: 1.421 MB / 367.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1637, allocations: 4 kB / 367.6 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.1637, allocations: 4 kB / 367.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1637, allocations: 0 / 367.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.1637, allocations: 31.97 kB / 367.7 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1638, allocations: 0 / 367.7 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1638, allocations: 0 / 367.7 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1651, allocations: 0.9764 MB / 368.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/0.1657, allocations: 411.7 kB / 369 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1658, allocations: 23.94 kB / 369.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1661, allocations: 23.98 kB / 369.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.1662, allocations: 55.94 kB / 369.1 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.1664, allocations: 103.9 kB / 369.2 MB, free: 1.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000907/0.1673, allocations: 0.6899 MB / 369.9 MB, free: 368 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1673, allocations: 8 kB / 369.9 MB, free: 360 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.1677, allocations: 95.94 kB / 370 MB, free: 264 kB / 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: 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.0002409/0.168, allocations: 143.2 kB / 370.2 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1915/0.3595, allocations: 0.8776 MB / 371.1 MB, free: 26.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3595, allocations: 0.5312 kB / 371.1 MB, free: 26.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.3602, allocations: 0.7583 MB / 371.8 MB, free: 25.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3614, allocations: 275.5 kB / 372.1 MB, free: 25.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3636, allocations: 1.274 MB / 373.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.3642, allocations: 0.938 MB / 374.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.3645, allocations: 96.11 kB / 374.4 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3646, allocations: 51.2 kB / 374.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3646, allocations: 1.531 kB / 374.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of Templates: time 0.01651/0.3811, allocations: 9.473 MB / 383.9 MB, free: 21.54 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches