Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001608/0.001607, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.056/2.056, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001115/0.001115, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.405e-05, allocations: 7.984 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09522, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.4971, allocations: 82.71 MB / 451.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4974, allocations: 76.27 kB / 451.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1503/0.6477, allocations: 43.2 MB / 495.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6478, allocations: 0 / 495.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.6478, allocations: 11.94 kB / 495.1 MB, free: 1.293 MB / 362.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.001298/0.6491, allocations: 0.9552 MB / 496 MB, free: 244 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6492, allocations: 8.031 kB / 496 MB, free: 236 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.6494, allocations: 71.16 kB / 496.1 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.6502, allocations: 372 kB / 496.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.6502, allocations: 12.19 kB / 496.5 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.6504, allocations: 16 kB / 496.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.6512, allocations: 299.2 kB / 496.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6512, allocations: 0 / 496.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.6513, allocations: 15.94 kB / 496.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6513, allocations: 3.953 kB / 496.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.6518, allocations: 156.5 kB / 497 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.6539, allocations: 0.7628 MB / 497.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.6545, allocations: 210.5 kB / 497.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.655, allocations: 188.8 kB / 498.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.6551, allocations: 4 kB / 498.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008229/0.6559, allocations: 429.9 kB / 498.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.075e-06/0.6559, allocations: 0 / 498.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.00207/0.658, allocations: 0.858 MB / 499.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.6582, allocations: 285 kB / 499.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.6601, allocations: 0.8313 MB / 0.4888 GB, free: 11.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.6602, allocations: 37.7 kB / 0.4888 GB, free: 11.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.6604, allocations: 184.4 kB / 0.489 GB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.6605, allocations: 67.19 kB / 0.4891 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.6606, allocations: 8 kB / 0.4891 GB, free: 11.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6607, allocations: 322.8 kB / 0.4894 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.6612, allocations: 140.2 kB / 0.4895 GB, free: 10.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.6617, allocations: 170.2 kB / 0.4897 GB, free: 10.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.6623, allocations: 361.5 kB / 0.49 GB, free: 10.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.6623, allocations: 3.953 kB / 0.49 GB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001839/0.6641, allocations: 0.8074 MB / 0.4908 GB, free: 9.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.6643, allocations: 241.6 kB / 0.491 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6644, allocations: 0 / 0.491 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6644, allocations: 0 / 0.491 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.6644, allocations: 12 kB / 0.491 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6645, allocations: 4.031 kB / 0.4911 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.665, allocations: 31.97 kB / 0.4911 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004004/0.6654, allocations: 263.8 kB / 0.4913 GB, free: 8.695 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,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,$PRE.bUF3S1.inertialDelaySensitive.y,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 () * 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.0004422/0.6659, allocations: 390.5 kB / 0.4917 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.6661, allocations: 83.02 kB / 0.4918 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.6665, allocations: 127 kB / 0.4919 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6665, allocations: 8 kB / 0.4919 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6665, allocations: 0 / 0.4919 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.6665, allocations: 3.984 kB / 0.4919 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6696, allocations: 1.495 MB / 0.4934 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6696, allocations: 0 / 0.4934 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.6697, allocations: 4 kB / 0.4934 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.6697, allocations: 0 / 0.4934 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.6698, allocations: 43.97 kB / 0.4934 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.6698, allocations: 4 kB / 0.4934 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6699, allocations: 4 kB / 0.4934 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.672, allocations: 1.019 MB / 0.4944 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.6732, allocations: 427.7 kB / 0.4948 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.6734, allocations: 23.98 kB / 0.4949 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004684/0.6739, allocations: 27.92 kB / 0.4949 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.6742, allocations: 75.91 kB / 0.495 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004036/0.6747, allocations: 271.6 kB / 0.4952 GB, free: 4.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001551/0.6762, allocations: 0.6783 MB / 0.4959 GB, free: 3.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6762, allocations: 0 / 0.4959 GB, free: 3.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007138/0.677, allocations: 95.98 kB / 0.496 GB, free: 3.695 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]) * 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.0002965/0.6773, allocations: 137.5 kB / 0.4961 GB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.6789, allocations: 0.9053 MB / 0.497 GB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.679, allocations: 0 / 0.497 GB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.68, allocations: 0.7726 MB / 0.4977 GB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.6817, allocations: 231.6 kB / 0.498 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.6846, allocations: 1.136 MB / 0.4991 GB, free: 292 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000939/0.6856, allocations: 0.9556 MB / 0.5 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.6858, allocations: 59.33 kB / 0.5001 GB, free: 15.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6858, allocations: 0 / 0.5001 GB, free: 15.24 MB / 394.7 MB Notification: Performance of Templates: time 0.0169/0.7028, allocations: 7.93 MB / 0.5078 GB, free: 7.164 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches