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.001287/0.001287, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001442/0.001442, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.432/1.432, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 11.94 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 50.42 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002071/0.1179, allocations: 1.516 MB / 353.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.1203, allocations: 0.9786 MB / 354.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.1204, allocations: 0 / 354.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1206, allocations: 19.84 kB / 354.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.1207, allocations: 35.72 kB / 354.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.121, allocations: 79.92 kB / 354.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.1213, allocations: 247.4 kB / 354.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1215, allocations: 41.67 kB / 354.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007962/0.1223, allocations: 0.7173 MB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1225, allocations: 139.4 kB / 355.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.1225, allocations: 12 kB / 355.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.1226, allocations: 8 kB / 355.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1227, allocations: 139.4 kB / 355.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.123, allocations: 248 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.1236, allocations: 0.7123 MB / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1236, allocations: 0 / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1236, allocations: 0 / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1236, allocations: 0 / 356.7 MB, free: 14.57 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.001199/0.1249, allocations: 1.04 MB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1249, allocations: 8.031 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.1251, allocations: 76.09 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.1256, allocations: 400.1 kB / 358.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.1257, allocations: 20.55 kB / 358.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.1258, allocations: 20.38 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.1264, allocations: 251 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1264, allocations: 0 / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.1264, allocations: 12 kB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1264, allocations: 0 / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.1267, allocations: 136.2 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.1281, allocations: 0.7272 MB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.1285, allocations: 198.4 kB / 359.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.1288, allocations: 180.8 kB / 359.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1288, allocations: 4 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007026/0.1295, allocations: 397.8 kB / 360.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.1296, allocations: 0 / 360.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001494/0.1311, allocations: 0.9201 MB / 361.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.1312, allocations: 285 kB / 361.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.1326, allocations: 0.9607 MB / 362.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.1326, allocations: 41.62 kB / 362.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1328, allocations: 126 kB / 362.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.1329, allocations: 67.19 kB / 362.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.1329, allocations: 41.69 kB / 362.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1331, allocations: 338.8 kB / 362.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1334, allocations: 120.2 kB / 363 MB, free: 7.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.1337, allocations: 171.8 kB / 363.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.1344, allocations: 0.7027 MB / 363.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.1344, allocations: 7.938 kB / 363.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001101/0.1355, allocations: 0.7489 MB / 364.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.1357, allocations: 241.6 kB / 364.9 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1357, allocations: 8.094 kB / 364.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1358, allocations: 3.984 kB / 364.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.1358, allocations: 11.94 kB / 364.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1358, allocations: 0 / 364.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.1362, allocations: 35.83 kB / 364.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.1363, allocations: 108.1 kB / 365 MB, free: 5.598 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.0007368/0.1371, allocations: 0.6084 MB / 365.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1372, allocations: 83.16 kB / 365.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.1375, allocations: 126.9 kB / 365.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1375, allocations: 4 kB / 365.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1375, allocations: 3.938 kB / 365.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1375, allocations: 0 / 365.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.1395, allocations: 1.421 MB / 367.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1395, allocations: 0 / 367.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.1396, allocations: 7.984 kB / 367.3 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.82e-06/0.1396, allocations: 7.938 kB / 367.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.1396, allocations: 31.98 kB / 367.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1396, allocations: 0 / 367.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1396, allocations: 3.938 kB / 367.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.141, allocations: 0.9532 MB / 368.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/0.1418, allocations: 419.7 kB / 368.7 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.1419, allocations: 27.98 kB / 368.7 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.1421, allocations: 31.89 kB / 368.8 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.1423, allocations: 55.94 kB / 368.8 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/0.1425, allocations: 111.9 kB / 368.9 MB, free: 1.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.1435, allocations: 0.686 MB / 369.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1436, allocations: 0 / 369.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.144, allocations: 95.94 kB / 369.7 MB, free: 0.6836 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: 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.0002745/0.1443, allocations: 147.1 kB / 369.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1838/0.3281, allocations: 0.8813 MB / 370.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.3281, allocations: 0 / 370.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000875/0.329, allocations: 0.752 MB / 371.5 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.3304, allocations: 246.9 kB / 371.7 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3327, allocations: 1.498 MB / 373.2 MB, free: 23.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.3333, allocations: 0.9371 MB / 374.2 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000271/0.3336, allocations: 98.72 kB / 374.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.3337, allocations: 51.5 kB / 374.3 MB, free: 22.76 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3337, allocations: 0 / 374.3 MB, free: 22.76 MB / 302.1 MB Notification: Performance of Templates: time 0.01562/0.3493, allocations: 8.389 MB / 382.7 MB, free: 20.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins/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