Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008029/0.0008031, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.7 MB / 246.8 MB, free: 9.789 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002306/0.0002306, allocations: 8 kB / 307.7 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.106, allocations: 51.53 MB / 359.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002068/0.1081, allocations: 1.525 MB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1103, allocations: 1.018 MB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.1104, allocations: 0 / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.1106, allocations: 19.84 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.264e-05/0.1107, allocations: 31.78 kB / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1111, allocations: 87.84 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1114, allocations: 243.4 kB / 362.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1116, allocations: 53.58 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007357/0.1123, allocations: 0.7096 MB / 362.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1125, allocations: 131.4 kB / 363.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.1125, allocations: 11.98 kB / 363.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.1126, allocations: 12 kB / 363.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1127, allocations: 135.4 kB / 363.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.113, allocations: 255.9 kB / 363.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.1136, allocations: 0.7162 MB / 364.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1136, allocations: 0 / 364.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1136, allocations: 0 / 364.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1136, allocations: 0 / 364.2 MB, free: 8.168 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.001073/0.1147, allocations: 1.037 MB / 365.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1147, allocations: 8.031 kB / 365.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1149, allocations: 72.09 kB / 365.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.1153, allocations: 404.1 kB / 365.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.1154, allocations: 16.56 kB / 365.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.1154, allocations: 20.38 kB / 365.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.116, allocations: 251 kB / 366 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.116, allocations: 0 / 366 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.116, allocations: 12 kB / 366 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.116, allocations: 0 / 366 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.1164, allocations: 140.2 kB / 366.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1174, allocations: 0.7271 MB / 366.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.1178, allocations: 198.4 kB / 367 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.1181, allocations: 180.7 kB / 367.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1182, allocations: 8 kB / 367.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/0.1187, allocations: 397.8 kB / 367.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.1187, allocations: 0 / 367.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001484/0.1202, allocations: 0.9241 MB / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.1204, allocations: 285 kB / 368.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.1216, allocations: 0.9568 MB / 369.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.1217, allocations: 37.7 kB / 369.8 MB, free: 2.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1218, allocations: 130 kB / 369.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.1219, allocations: 67.19 kB / 370 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.122, allocations: 37.7 kB / 370 MB, free: 1.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1221, allocations: 334.8 kB / 370.4 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1224, allocations: 128.2 kB / 370.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1226, allocations: 163.9 kB / 370.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/0.1233, allocations: 0.6988 MB / 371.4 MB, free: 480 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1234, allocations: 7.938 kB / 371.4 MB, free: 472 kB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.2365/0.3599, allocations: 0.7489 MB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.3601, allocations: 244.3 kB / 372.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3601, allocations: 0 / 372.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.3601, allocations: 6.5 kB / 372.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.285e-05/0.3602, allocations: 10.06 kB / 372.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3602, allocations: 2.984 kB / 372.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.3606, allocations: 33.95 kB / 372.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.3608, allocations: 107.3 kB / 372.5 MB, free: 19.55 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.0008819/0.3617, allocations: 0.6111 MB / 373.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.3619, allocations: 79.17 kB / 373.2 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.3622, allocations: 129.9 kB / 373.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3622, allocations: 2.25 kB / 373.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3622, allocations: 5.5 kB / 373.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3622, allocations: 1.172 kB / 373.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.3646, allocations: 1.427 MB / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3646, allocations: 0 / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.3646, allocations: 4.328 kB / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3646, allocations: 4.016 kB / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.3647, allocations: 29.66 kB / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3647, allocations: 5.125 kB / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3647, allocations: 0 / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.3662, allocations: 0.9684 MB / 375.8 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/0.3668, allocations: 412.4 kB / 376.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3669, allocations: 23.03 kB / 376.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.3672, allocations: 37.22 kB / 376.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3674, allocations: 52.78 kB / 376.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.3675, allocations: 108.3 kB / 376.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.3686, allocations: 0.6916 MB / 377.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3686, allocations: 0 / 377.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.3691, allocations: 92.16 kB / 377.2 MB, free: 17.4 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.0001966/0.3693, allocations: 142.6 kB / 377.3 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3703, allocations: 0.8875 MB / 378.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3703, allocations: 0 / 378.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005486/0.3709, allocations: 0.7505 MB / 378.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3721, allocations: 253.8 kB / 379.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3744, allocations: 1.505 MB / 380.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.3751, allocations: 0.9422 MB / 381.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.3753, allocations: 96.09 kB / 381.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.3754, allocations: 40.22 kB / 381.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3754, allocations: 0 / 381.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01558/0.391, allocations: 8.387 MB / 390.2 MB, free: 11.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches