Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008509/0.0008508, allocations: 94.89 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008602/0.0008602, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002645, allocations: 8 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1361, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001991/0.1382, allocations: 1.475 MB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1401, allocations: 0.9362 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.1402, allocations: 3.938 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1404, allocations: 11.92 kB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.1405, allocations: 27.78 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1408, allocations: 79.78 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.1411, allocations: 231.4 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1413, allocations: 37.84 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007254/0.142, allocations: 0.6356 MB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1422, allocations: 163.5 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.1423, allocations: 8 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.287e-05/0.1423, allocations: 12 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1425, allocations: 135.5 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1426, allocations: 125.3 kB / 362.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.1431, allocations: 0.5926 MB / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1431, allocations: 0 / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1431, allocations: 0 / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1431, allocations: 0 / 363.1 MB, free: 9.172 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.0009913/0.1441, allocations: 1.044 MB / 364.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1442, allocations: 12.03 kB / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1443, allocations: 71.16 kB / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.1447, allocations: 367.6 kB / 364.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1447, allocations: 12.19 kB / 364.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.1448, allocations: 27.89 kB / 364.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.1452, allocations: 251.2 kB / 364.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1453, allocations: 0 / 364.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1453, allocations: 8 kB / 364.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1453, allocations: 0 / 364.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.1456, allocations: 140.6 kB / 365 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1466, allocations: 0.7394 MB / 365.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.147, allocations: 198.4 kB / 365.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1473, allocations: 180.8 kB / 366.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.1473, allocations: 128 / 366.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.1478, allocations: 389.8 kB / 366.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.1479, allocations: 0 / 366.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001337/0.1492, allocations: 0.9239 MB / 367.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.1493, allocations: 281 kB / 367.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.1505, allocations: 0.9568 MB / 368.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.1506, allocations: 41.7 kB / 368.7 MB, free: 3.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.1507, allocations: 122 kB / 368.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.1508, allocations: 67.19 kB / 368.9 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1508, allocations: 8 kB / 368.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1509, allocations: 338.8 kB / 369.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1512, allocations: 124.2 kB / 369.3 MB, free: 2.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.1515, allocations: 160.7 kB / 369.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.1518, allocations: 346.3 kB / 369.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1518, allocations: 3.938 kB / 369.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009922/0.1528, allocations: 0.7564 MB / 370.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.153, allocations: 245.6 kB / 370.8 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.153, allocations: 0 / 370.8 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.153, allocations: 4 kB / 370.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.153, allocations: 4 kB / 370.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1531, allocations: 8.094 kB / 370.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1533, allocations: 39.78 kB / 370.9 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.1535, allocations: 112.1 kB / 371 MB, free: 0.7031 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,$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.0006284/0.1541, allocations: 0.6134 MB / 371.6 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2193/0.3734, allocations: 73.08 kB / 371.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.3739, allocations: 125 kB / 371.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3739, allocations: 2.156 kB / 371.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3739, allocations: 1.406 kB / 371.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.374, allocations: 3.938 kB / 371.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.3763, allocations: 1.419 MB / 373.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3763, allocations: 0 / 373.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.3764, allocations: 11.97 kB / 373.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.3764, allocations: 1.094 kB / 373.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.3765, allocations: 28.27 kB / 373.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.3765, allocations: 2.672 kB / 373.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3765, allocations: 2.922 kB / 373.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.3778, allocations: 0.9574 MB / 374.2 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.3784, allocations: 418.5 kB / 374.6 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3785, allocations: 22.92 kB / 374.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3788, allocations: 34.69 kB / 374.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.379, allocations: 61.02 kB / 374.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.3792, allocations: 112.7 kB / 374.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.3802, allocations: 0.6934 MB / 375.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3803, allocations: 2.938 kB / 375.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.3807, allocations: 90.38 kB / 375.6 MB, free: 18.27 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 (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.0001908/0.3809, allocations: 145.3 kB / 375.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009128/0.3818, allocations: 0.8831 MB / 376.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3818, allocations: 5.672 kB / 376.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.3824, allocations: 0.7554 MB / 377.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/0.3834, allocations: 232.8 kB / 377.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3853, allocations: 1.443 MB / 379.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.3859, allocations: 0.9391 MB / 380 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.3861, allocations: 93.03 kB / 380.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.3862, allocations: 44.3 kB / 380.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3862, allocations: 4.594 kB / 380.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01351/0.3997, allocations: 8.209 MB / 388.4 MB, free: 12.84 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches