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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 95.12 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.434e-05, allocations: 7.938 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5435, allocations: 82.95 MB / 470.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.5437, allocations: 67.97 kB / 470.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08254/0.6263, allocations: 43.44 MB / 0.5019 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6263, allocations: 0 / 0.5019 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.6263, allocations: 8 kB / 0.5019 GB, free: 0.5664 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.0009286/0.6273, allocations: 0.9435 MB / 0.5028 GB, free: 15.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6273, allocations: 8.031 kB / 0.5028 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.6275, allocations: 79.06 kB / 0.5029 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.6279, allocations: 371.9 kB / 0.5032 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.628, allocations: 12 kB / 0.5032 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.628, allocations: 16 kB / 0.5033 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002599/0.6283, allocations: 140.3 kB / 0.5034 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.6287, allocations: 279.2 kB / 0.5037 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6287, allocations: 0 / 0.5037 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.6288, allocations: 7.984 kB / 0.5037 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6288, allocations: 4 kB / 0.5037 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.63, allocations: 0.7356 MB / 0.5044 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.6303, allocations: 198.5 kB / 0.5046 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.6305, allocations: 176.8 kB / 0.5048 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.6305, allocations: 11.94 kB / 0.5048 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/0.631, allocations: 417.9 kB / 0.5052 GB, free: 12.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.6311, allocations: 0 / 0.5052 GB, free: 12.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009896/0.6321, allocations: 0.6224 MB / 0.5058 GB, free: 12.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.6322, allocations: 281 kB / 0.506 GB, free: 12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.6332, allocations: 0.7922 MB / 0.5068 GB, free: 11.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.6332, allocations: 33.7 kB / 0.5068 GB, free: 11.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.6333, allocations: 138 kB / 0.507 GB, free: 11.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.6334, allocations: 59.27 kB / 0.507 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.6335, allocations: 8 kB / 0.507 GB, free: 10.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6336, allocations: 330.8 kB / 0.5074 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.6338, allocations: 132.2 kB / 0.5075 GB, free: 10.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.634, allocations: 154.2 kB / 0.5076 GB, free: 10.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.6342, allocations: 119.9 kB / 0.5077 GB, free: 10.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6342, allocations: 4 kB / 0.5077 GB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008983/0.6351, allocations: 0.5713 MB / 0.5083 GB, free: 9.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.6353, allocations: 242.7 kB / 0.5085 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6353, allocations: 0 / 0.5085 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6353, allocations: 4 kB / 0.5085 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.6354, allocations: 7.984 kB / 0.5085 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6354, allocations: 3.953 kB / 0.5085 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.6356, allocations: 31.89 kB / 0.5086 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.6359, allocations: 267.8 kB / 0.5088 GB, free: 9.051 MB / 394.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.0002989/0.6362, allocations: 390.6 kB / 0.5092 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6363, allocations: 75.16 kB / 0.5093 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.6365, allocations: 127.3 kB / 0.5094 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6365, allocations: 3.984 kB / 0.5094 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6365, allocations: 0 / 0.5094 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6366, allocations: 7.953 kB / 0.5094 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.6381, allocations: 1.197 MB / 0.5106 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6381, allocations: 0 / 0.5106 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.6381, allocations: 11.98 kB / 0.5106 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6382, allocations: 0 / 0.5106 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.6382, allocations: 43.97 kB / 0.5106 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6382, allocations: 0 / 0.5106 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6382, allocations: 7.953 kB / 0.5106 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.6393, allocations: 0.7525 MB / 0.5114 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.6399, allocations: 423.8 kB / 0.5118 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.64, allocations: 23.98 kB / 0.5118 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.6403, allocations: 23.98 kB / 0.5118 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.6404, allocations: 75.91 kB / 0.5119 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/0.6407, allocations: 279.4 kB / 0.5122 GB, free: 5.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008154/0.6415, allocations: 0.6509 MB / 0.5128 GB, free: 4.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6415, allocations: 0 / 0.5128 GB, free: 4.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004119/0.642, allocations: 84 kB / 0.5129 GB, free: 4.766 MB / 394.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.0002142/0.6422, allocations: 137.5 kB / 0.513 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008951/0.6431, allocations: 0.8702 MB / 0.5139 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6431, allocations: 0 / 0.5139 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.6437, allocations: 0.7492 MB / 0.5146 GB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6447, allocations: 229.4 kB / 0.5148 GB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.6465, allocations: 1.047 MB / 0.5158 GB, free: 1.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.6471, allocations: 0.9598 MB / 0.5168 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.6473, allocations: 97.06 kB / 0.5169 GB, free: 444 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.6474, allocations: 39.38 kB / 0.5169 GB, free: 404 kB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6474, allocations: 4 kB / 0.5169 GB, free: 400 kB / 394.7 MB Notification: Performance of Templates: time 0.01575/0.6632, allocations: 11.6 MB / 0.5282 GB, free: 4.637 MB / 410.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches