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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001927/0.001927, allocations: 180.7 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009412/0.0009411, allocations: 88.88 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.4628, allocations: 82.8 MB / 458.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/0.4632, allocations: 71.97 kB / 458.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08855/0.5518, allocations: 42.89 MB / 0.4898 GB, free: 2.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5519, allocations: 4 kB / 0.4898 GB, free: 2.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.5519, allocations: 8 kB / 0.4898 GB, free: 2.969 MB / 378.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.001313/0.5532, allocations: 1.064 MB / 0.4909 GB, free: 1.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5533, allocations: 8.031 kB / 0.4909 GB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.5534, allocations: 75.16 kB / 0.4909 GB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.554, allocations: 367.9 kB / 0.4913 GB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.5541, allocations: 12.19 kB / 0.4913 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.5541, allocations: 20 kB / 0.4913 GB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.5548, allocations: 299.1 kB / 0.4916 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5548, allocations: 3.938 kB / 0.4916 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.5548, allocations: 8 kB / 0.4916 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5549, allocations: 7.953 kB / 0.4916 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.5552, allocations: 156.5 kB / 0.4918 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.5567, allocations: 0.7633 MB / 0.4925 GB, free: 0 / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3033/0.86, allocations: 212.2 kB / 0.4927 GB, free: 102.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.8601, allocations: 5.688 kB / 0.4927 GB, free: 102.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/0.861, allocations: 441 kB / 0.4932 GB, free: 102.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.937e-06/0.861, allocations: 0 / 0.4932 GB, free: 102.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002402/0.8634, allocations: 1.336 MB / 0.4945 GB, free: 101.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.8635, allocations: 281.3 kB / 0.4947 GB, free: 101.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.865, allocations: 0.8334 MB / 0.4955 GB, free: 101 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.822e-05/0.865, allocations: 38.02 kB / 0.4956 GB, free: 101 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.8651, allocations: 126.7 kB / 0.4957 GB, free: 100.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.725e-05/0.8652, allocations: 67.91 kB / 0.4958 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.8653, allocations: 14 kB / 0.4958 GB, free: 100.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.8654, allocations: 338.1 kB / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.8657, allocations: 143.1 kB / 0.4962 GB, free: 100.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.866, allocations: 172.7 kB / 0.4964 GB, free: 100.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.8664, allocations: 359.3 kB / 0.4967 GB, free: 100.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8664, allocations: 1.188 kB / 0.4967 GB, free: 100.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001299/0.8677, allocations: 0.8265 MB / 0.4976 GB, free: 99.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.8679, allocations: 241.1 kB / 0.4978 GB, free: 99.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8679, allocations: 1 kB / 0.4978 GB, free: 99.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.8679, allocations: 2.219 kB / 0.4978 GB, free: 99.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.868, allocations: 8.969 kB / 0.4978 GB, free: 99.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.868, allocations: 8.922 kB / 0.4978 GB, free: 99.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.8683, allocations: 34.36 kB / 0.4978 GB, free: 99.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/0.8687, allocations: 267.5 kB / 0.4981 GB, free: 99.7 MB / 378.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000753/0.8695, allocations: 0.6019 MB / 0.4987 GB, free: 99.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.8696, allocations: 79.03 kB / 0.4988 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.8699, allocations: 132.2 kB / 0.4989 GB, free: 99.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8699, allocations: 1.438 kB / 0.4989 GB, free: 99.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8699, allocations: 1.062 kB / 0.4989 GB, free: 99.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8699, allocations: 0 / 0.4989 GB, free: 99.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.8722, allocations: 1.509 MB / 0.5004 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.8722, allocations: 4.562 kB / 0.5004 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.8723, allocations: 3.594 kB / 0.5004 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.8723, allocations: 1.062 kB / 0.5004 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-05/0.8724, allocations: 51.23 kB / 0.5004 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8724, allocations: 0.875 kB / 0.5004 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8724, allocations: 1.531 kB / 0.5004 GB, free: 98.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.874, allocations: 1.032 MB / 0.5014 GB, free: 98.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008385/0.8749, allocations: 433.8 kB / 0.5018 GB, free: 97.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.875, allocations: 22.12 kB / 0.5019 GB, free: 97.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.8753, allocations: 24.66 kB / 0.5019 GB, free: 97.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.8756, allocations: 73.08 kB / 0.502 GB, free: 97.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000381/0.8759, allocations: 273.6 kB / 0.5022 GB, free: 97.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.877, allocations: 0.6925 MB / 0.5029 GB, free: 97.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.877, allocations: 0 / 0.5029 GB, free: 97.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.8775, allocations: 97.44 kB / 0.503 GB, free: 97.72 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.8777, allocations: 140.2 kB / 0.5031 GB, free: 97.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009763/0.8787, allocations: 0.9149 MB / 0.504 GB, free: 97.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8787, allocations: 2.078 kB / 0.504 GB, free: 97.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.8793, allocations: 0.7679 MB / 0.5048 GB, free: 96.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008883/0.8802, allocations: 232 kB / 0.505 GB, free: 96.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.8824, allocations: 1.458 MB / 0.5064 GB, free: 95.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.8829, allocations: 0.9627 MB / 0.5073 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.8833, allocations: 86.44 kB / 0.5074 GB, free: 95.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.8834, allocations: 47.33 kB / 0.5075 GB, free: 95.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8834, allocations: 0 / 0.5075 GB, free: 95.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01952/0.9029, allocations: 11.91 MB / 0.5191 GB, free: 92.69 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches