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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 163 kB / 25.69 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9322/0.9322, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,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=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.097e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002242/0.002263, allocations: 1.76 MB / 253.3 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.003883, allocations: 0.9713 MB / 254.3 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.003969, allocations: 4 kB / 254.3 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.004106, allocations: 23.72 kB / 254.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.465e-05/0.004191, allocations: 43.64 kB / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.004529, allocations: 103.8 kB / 254.4 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.004825, allocations: 299.3 kB / 254.7 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004928, allocations: 42.33 kB / 254.8 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005802/0.005508, allocations: 0.7292 MB / 255.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.005662, allocations: 127.6 kB / 255.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.005704, allocations: 20 kB / 255.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.005747, allocations: 20 kB / 255.7 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.005847, allocations: 147.4 kB / 255.8 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.005955, allocations: 119.5 kB / 255.9 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.006358, allocations: 0.5682 MB / 256.5 MB, free: 2.289 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.006362, allocations: 4 kB / 256.5 MB, free: 2.285 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006363, allocations: 4 kB / 256.5 MB, free: 2.281 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.006371, allocations: 0 / 256.5 MB, free: 2.281 MB / 234.7 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.0008594/0.00723, allocations: 1.06 MB / 257.6 MB, free: 1.145 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.007262, allocations: 15.98 kB / 257.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.007354, allocations: 64.88 kB / 257.6 MB, free: 1.066 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.007617, allocations: 318.4 kB / 257.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.007641, allocations: 16.56 kB / 258 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.007673, allocations: 16.38 kB / 258 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.008045, allocations: 445.1 kB / 258.4 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.008052, allocations: 0 / 258.4 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.008075, allocations: 16 kB / 258.4 MB, free: 192 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.008079, allocations: 0 / 258.4 MB, free: 192 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.008263, allocations: 305.8 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.008882, allocations: 403.6 kB / 259.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.0091, allocations: 336.1 kB / 259.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.009256, allocations: 314.4 kB / 259.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.009265, allocations: 0 / 259.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000308/0.009573, allocations: 0.5619 MB / 260.3 MB, free: 14.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.009575, allocations: 0 / 260.3 MB, free: 14.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006032/0.01018, allocations: 1.014 MB / 261.3 MB, free: 12.87 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.01027, allocations: 289 kB / 261.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.01078, allocations: 0.6167 MB / 262.2 MB, free: 11.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.01082, allocations: 37.7 kB / 262.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.01087, allocations: 110 kB / 262.4 MB, free: 11.74 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.01092, allocations: 63.56 kB / 262.4 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.01104, allocations: 149.3 kB / 262.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.01112, allocations: 334.8 kB / 262.9 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.01128, allocations: 297.8 kB / 263.2 MB, free: 10.85 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.01144, allocations: 333.5 kB / 263.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.01175, allocations: 0.6313 MB / 264.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01176, allocations: 0 / 264.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004141/0.01217, allocations: 0.6841 MB / 264.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.01227, allocations: 245.6 kB / 265.1 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01228, allocations: 7.922 kB / 265.1 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.01229, allocations: 7.938 kB / 265.1 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.342e-05/0.01232, allocations: 4 kB / 265.1 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01232, allocations: 3.984 kB / 265.1 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.01245, allocations: 31.89 kB / 265.1 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.01252, allocations: 100.1 kB / 265.2 MB, free: 8.488 MB / 250.7 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.0004085/0.01293, allocations: 0.5801 MB / 265.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.013, allocations: 67.92 kB / 265.9 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.01314, allocations: 106.9 kB / 266 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01314, allocations: 7.938 kB / 266 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.01314, allocations: 0 / 266 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01315, allocations: 3.984 kB / 266 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.01387, allocations: 1.041 MB / 267 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01387, allocations: 0 / 267 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.01388, allocations: 4 kB / 267 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01388, allocations: 4 kB / 267 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.01391, allocations: 19.98 kB / 267.1 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01391, allocations: 7.922 kB / 267.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01391, allocations: 4 kB / 267.1 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.01438, allocations: 0.854 MB / 267.9 MB, free: 5.488 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.01474, allocations: 281.2 kB / 268.2 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.0148, allocations: 20 kB / 268.2 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.01492, allocations: 31.92 kB / 268.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.01501, allocations: 39.95 kB / 268.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.01508, allocations: 103.9 kB / 268.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002776/0.01536, allocations: 308.4 kB / 268.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01536, allocations: 0 / 268.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.01559, allocations: 92 kB / 268.8 MB, free: 4.621 MB / 250.7 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.0001355/0.01572, allocations: 120.4 kB / 268.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.01629, allocations: 1.132 MB / 270 MB, free: 3.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.0163, allocations: 4 kB / 270 MB, free: 3.156 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.01665, allocations: 0.8089 MB / 270.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.01718, allocations: 289.9 kB / 271.1 MB, free: 1.926 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.01846, allocations: 1.417 MB / 272.6 MB, free: 432 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.01856, allocations: 148.2 kB / 272.7 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.01872, allocations: 89.28 kB / 272.8 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.01916, allocations: 281.1 kB / 273.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01917, allocations: 0 / 273.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of Templates: time 0.01019/0.02935, allocations: 9.393 MB / 282.5 MB, free: 6.492 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7052105139009655]