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.001261/0.001261, allocations: 112 kB / 17.68 MB, free: 5.332 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.001198/0.001198, allocations: 190.9 kB / 18.62 MB, free: 4.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 1.328/1.328, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 55.5 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1391, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004299/0.1435, allocations: 1.805 MB / 353.3 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.1465, allocations: 0.9486 MB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.1466, allocations: 4 kB / 354.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1468, allocations: 27.66 kB / 354.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1469, allocations: 35.72 kB / 354.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1473, allocations: 95.75 kB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.1478, allocations: 319.4 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1479, allocations: 53.67 kB / 354.8 MB, free: 392 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.149, allocations: 0.7174 MB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1493, allocations: 147.4 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.1493, allocations: 20 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.1494, allocations: 20 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.1496, allocations: 139.4 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.1499, allocations: 242.2 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008524/0.1508, allocations: 0.7473 MB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1508, allocations: 3.938 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1508, allocations: 8 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1508, allocations: 0 / 356.8 MB, free: 14.34 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.001583/0.1524, allocations: 1.165 MB / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1525, allocations: 8.031 kB / 358 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1526, allocations: 76.09 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.1533, allocations: 400 kB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.1533, allocations: 12.56 kB / 358.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.1534, allocations: 20.38 kB / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.1541, allocations: 249.2 kB / 358.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1542, allocations: 4 kB / 358.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.1542, allocations: 12 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1543, allocations: 4 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.1547, allocations: 132.2 kB / 358.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1564, allocations: 0.7387 MB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.157, allocations: 198.4 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.1574, allocations: 180.8 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1575, allocations: 0 / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008082/0.1583, allocations: 385.9 kB / 360.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.1583, allocations: 4 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.0022/0.1605, allocations: 0.9239 MB / 361.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.1607, allocations: 285 kB / 361.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.1627, allocations: 0.953 MB / 362.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.1628, allocations: 41.69 kB / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.163, allocations: 122 kB / 362.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1631, allocations: 63.2 kB / 362.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.1634, allocations: 177 kB / 362.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1637, allocations: 330.8 kB / 363.2 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.1641, allocations: 124.2 kB / 363.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.1645, allocations: 176.7 kB / 363.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1656, allocations: 0.6988 MB / 364.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1656, allocations: 3.938 kB / 364.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001641/0.1673, allocations: 0.7487 MB / 365 MB, free: 5.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.1675, allocations: 245.6 kB / 365.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1675, allocations: 4.094 kB / 365.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1676, allocations: 7.938 kB / 365.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.1676, allocations: 7.984 kB / 365.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1676, allocations: 4 kB / 365.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.168, allocations: 27.92 kB / 365.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.1682, allocations: 100.2 kB / 365.4 MB, free: 5.156 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.0009777/0.1691, allocations: 0.6239 MB / 366 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.1693, allocations: 83.06 kB / 366.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.1697, allocations: 130.8 kB / 366.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1697, allocations: 0 / 366.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1697, allocations: 0 / 366.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1697, allocations: 3.984 kB / 366.2 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.1725, allocations: 1.429 MB / 367.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1726, allocations: 0 / 367.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.1726, allocations: 4 kB / 367.6 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1726, allocations: 0 / 367.6 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.1727, allocations: 31.97 kB / 367.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1727, allocations: 4 kB / 367.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1727, allocations: 0 / 367.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.1746, allocations: 0.9686 MB / 368.6 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.1756, allocations: 411.7 kB / 369 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.1758, allocations: 24 kB / 369.1 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.1762, allocations: 19.98 kB / 369.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.1764, allocations: 59.92 kB / 369.1 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/0.1766, allocations: 111.9 kB / 369.2 MB, free: 1.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001465/0.1781, allocations: 0.6976 MB / 369.9 MB, free: 324 kB / 302.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.1781, allocations: 0 / 369.9 MB, free: 324 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006297/0.1787, allocations: 91.94 kB / 370 MB, free: 232 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.0002615/0.179, allocations: 147.2 kB / 370.2 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.2035/0.3826, allocations: 0.8799 MB / 371.1 MB, free: 25.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3826, allocations: 1.188 kB / 371.1 MB, free: 25.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.3833, allocations: 0.7525 MB / 371.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3846, allocations: 271.3 kB / 372.1 MB, free: 25.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3878, allocations: 1.273 MB / 373.3 MB, free: 24.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009543/0.3888, allocations: 0.9395 MB / 374.3 MB, free: 24.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003869/0.3892, allocations: 91.62 kB / 374.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3893, allocations: 48.09 kB / 374.4 MB, free: 24.09 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3893, allocations: 0 / 374.4 MB, free: 24.09 MB / 302.1 MB Notification: Performance of Templates: time 0.01664/0.406, allocations: 9.488 MB / 383.9 MB, free: 21.49 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 gbode -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