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.001609/0.001609, allocations: 101.6 kB / 17.59 MB, free: 5.449 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.001726/0.001726, allocations: 187.6 kB / 18.51 MB, free: 4.527 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.382/1.382, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009898/0.00099, allocations: 51.58 kB / 301.3 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09101, allocations: 49.45 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003385/0.09443, allocations: 1.797 MB / 352.5 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.09662, allocations: 0.9408 MB / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.09678, allocations: 3.938 kB / 353.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.097, allocations: 27.72 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.09715, allocations: 39.7 kB / 353.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.09755, allocations: 95.83 kB / 353.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.09799, allocations: 303.4 kB / 353.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.09816, allocations: 65.64 kB / 354 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.0989, allocations: 0.7135 MB / 354.7 MB, free: 444 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.09913, allocations: 147.4 kB / 354.9 MB, free: 296 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.09923, allocations: 20 kB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.09931, allocations: 28 kB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.09947, allocations: 135.4 kB / 355 MB, free: 112 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.09972, allocations: 242.2 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.1004, allocations: 0.7359 MB / 356 MB, free: 15.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1004, allocations: 0 / 356 MB, free: 15.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1004, allocations: 0 / 356 MB, free: 15.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.1004, allocations: 0 / 356 MB, free: 15.13 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.001442/0.1019, allocations: 1.183 MB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1019, allocations: 8.031 kB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.1021, allocations: 76.09 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.1026, allocations: 396.1 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.1026, allocations: 16.56 kB / 357.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1027, allocations: 20.38 kB / 357.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.1032, allocations: 249.6 kB / 357.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1033, allocations: 0 / 357.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.1033, allocations: 15.94 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1033, allocations: 0 / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.1036, allocations: 140.1 kB / 358.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1048, allocations: 0.731 MB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.1052, allocations: 198.4 kB / 359 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.1054, allocations: 180.8 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1055, allocations: 4 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.1061, allocations: 392.4 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.1061, allocations: 3.938 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001433/0.1075, allocations: 0.9241 MB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.1077, allocations: 281 kB / 360.8 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.109, allocations: 0.9491 MB / 361.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.109, allocations: 45.69 kB / 361.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.1091, allocations: 134 kB / 361.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.1092, allocations: 59.2 kB / 362 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.1094, allocations: 173 kB / 362.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1096, allocations: 334.8 kB / 362.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.1098, allocations: 124.2 kB / 362.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1101, allocations: 172.7 kB / 362.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.1108, allocations: 0.6988 MB / 363.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1108, allocations: 3.938 kB / 363.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001035/0.1119, allocations: 0.7449 MB / 364.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.112, allocations: 245.6 kB / 364.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.112, allocations: 8.094 kB / 364.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1121, allocations: 0 / 364.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.1121, allocations: 15.92 kB / 364.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1121, allocations: 4 kB / 364.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.1124, allocations: 27.92 kB / 364.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.1125, allocations: 108.1 kB / 364.6 MB, free: 5.918 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.0007097/0.1132, allocations: 0.6162 MB / 365.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1134, allocations: 83.06 kB / 365.3 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.1136, allocations: 122.9 kB / 365.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1136, allocations: 0 / 365.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1136, allocations: 0 / 365.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1136, allocations: 7.984 kB / 365.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.1155, allocations: 1.417 MB / 366.8 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1155, allocations: 3.938 kB / 366.8 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.1155, allocations: 4 kB / 366.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1156, allocations: 0 / 366.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.1156, allocations: 35.97 kB / 366.9 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1156, allocations: 4 kB / 366.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1156, allocations: 0 / 366.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.1169, allocations: 0.9686 MB / 367.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/0.1176, allocations: 415.7 kB / 368.3 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1177, allocations: 20 kB / 368.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1179, allocations: 23.98 kB / 368.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.1181, allocations: 55.94 kB / 368.4 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.1182, allocations: 111.9 kB / 368.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001003/0.1192, allocations: 0.6938 MB / 369.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1192, allocations: 0 / 369.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.1197, allocations: 91.94 kB / 369.2 MB, free: 1.008 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.0002032/0.1199, allocations: 159.1 kB / 369.4 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.153/0.2729, allocations: 0.8854 MB / 370.3 MB, free: 26.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.273, allocations: 0.6875 kB / 370.3 MB, free: 26.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.2738, allocations: 0.753 MB / 371 MB, free: 25.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.2751, allocations: 276.5 kB / 371.3 MB, free: 25.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.2774, allocations: 1.35 MB / 372.7 MB, free: 25.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.278, allocations: 0.9419 MB / 373.6 MB, free: 24.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2781, allocations: 57.66 kB / 373.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2781, allocations: 1.281 kB / 373.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of Templates: time 0.009729/0.2879, allocations: 5.371 MB / 379 MB, free: 23.84 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/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