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.001499/0.001499, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.001761/0.001761, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 51.17 kB / 299.9 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1021, allocations: 49.45 MB / 349.4 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004094/0.1062, allocations: 1.855 MB / 351.2 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1086, allocations: 0.9902 MB / 352.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.1087, allocations: 0 / 352.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1089, allocations: 15.86 kB / 352.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.109, allocations: 35.77 kB / 352.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.1094, allocations: 88.48 kB / 352.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1096, allocations: 243.4 kB / 352.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1098, allocations: 57.64 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007599/0.1106, allocations: 0.7096 MB / 353.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1108, allocations: 151.3 kB / 353.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.1109, allocations: 8 kB / 353.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.1109, allocations: 12 kB / 353.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1111, allocations: 135.5 kB / 353.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1113, allocations: 230.2 kB / 353.9 MB, free: 300 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.112, allocations: 0.7281 MB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.112, allocations: 4 kB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.112, allocations: 0 / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.112, allocations: 0 / 354.6 MB, free: 15.56 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.001458/0.1135, allocations: 1.172 MB / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1136, allocations: 8.031 kB / 355.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1137, allocations: 76.09 kB / 355.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1142, allocations: 400 kB / 356.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.1142, allocations: 16.56 kB / 356.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.1143, allocations: 16.38 kB / 356.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.1148, allocations: 263 kB / 356.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1149, allocations: 0 / 356.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.1149, allocations: 12 kB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1149, allocations: 0 / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.1152, allocations: 138.8 kB / 356.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1163, allocations: 0.7348 MB / 357.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.1167, allocations: 206.4 kB / 357.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.1171, allocations: 176.8 kB / 357.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1171, allocations: 0 / 357.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005743/0.1177, allocations: 385.9 kB / 358.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.066e-06/0.1177, allocations: 3.984 kB / 358.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001476/0.1192, allocations: 0.9264 MB / 359.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.1193, allocations: 285 kB / 359.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1205, allocations: 0.9451 MB / 360.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.1205, allocations: 37.7 kB / 360.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.1206, allocations: 126 kB / 360.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.1207, allocations: 67.25 kB / 360.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.1209, allocations: 169 kB / 360.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.121, allocations: 334.8 kB / 361.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.1213, allocations: 124.2 kB / 361.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.1216, allocations: 163.9 kB / 361.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.1222, allocations: 0.7105 MB / 362.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1222, allocations: 3.938 kB / 362.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001016/0.1232, allocations: 0.7489 MB / 362.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.1234, allocations: 252.2 kB / 363.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1234, allocations: 0 / 363.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1234, allocations: 4 kB / 363.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-05/0.1235, allocations: 8 kB / 363.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1235, allocations: 0 / 363.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.1238, allocations: 40 kB / 363.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.1239, allocations: 104.1 kB / 363.2 MB, free: 6.352 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.0006469/0.1245, allocations: 0.6123 MB / 363.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1247, allocations: 83.05 kB / 363.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.1249, allocations: 130.9 kB / 364 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1249, allocations: 0 / 364 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1249, allocations: 0 / 364 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1249, allocations: 0 / 364 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.1267, allocations: 1.429 MB / 365.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1267, allocations: 4 kB / 365.5 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.1267, allocations: 7.938 kB / 365.5 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1267, allocations: 0 / 365.5 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.1268, allocations: 27.98 kB / 365.5 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1268, allocations: 3.984 kB / 365.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1268, allocations: 0 / 365.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1281, allocations: 0.9687 MB / 366.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.1286, allocations: 407.7 kB / 366.9 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1288, allocations: 24 kB / 366.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.129, allocations: 27.92 kB / 366.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.1292, allocations: 51.94 kB / 367 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.1293, allocations: 111.9 kB / 367.1 MB, free: 2.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008641/0.1301, allocations: 0.6899 MB / 367.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1302, allocations: 0 / 367.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.1306, allocations: 103.8 kB / 367.9 MB, free: 1.434 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.0001807/0.1307, allocations: 151.1 kB / 368 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009549/0.1317, allocations: 0.8818 MB / 368.9 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1317, allocations: 0 / 368.9 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1506/0.2823, allocations: 0.7502 MB / 369.7 MB, free: 26.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.2837, allocations: 250 kB / 369.9 MB, free: 26.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.2862, allocations: 1.498 MB / 371.4 MB, free: 25.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.2869, allocations: 0.9401 MB / 372.3 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.2871, allocations: 94.55 kB / 372.4 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.2872, allocations: 47.92 kB / 372.5 MB, free: 24.51 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2872, allocations: 0.5625 kB / 372.5 MB, free: 24.51 MB / 302.1 MB Notification: Performance of Templates: time 0.01486/0.3021, allocations: 8.881 MB / 381.4 MB, free: 22.25 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