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.00152/0.00152, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 94.81 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.479e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.343, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4783, allocations: 82.06 MB / 444.4 MB, free: 4.242 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4787, allocations: 66.69 kB / 444.5 MB, free: 4.18 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1557/0.6344, allocations: 42.89 MB / 487.3 MB, free: 9.449 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6345, allocations: 6 kB / 487.4 MB, free: 9.445 MB / 379.1 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.6345, allocations: 8 kB / 487.4 MB, free: 9.438 MB / 379.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.001368/0.6359, allocations: 0.9396 MB / 488.3 MB, free: 8.398 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.636, allocations: 12.03 kB / 488.3 MB, free: 8.387 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.6362, allocations: 75.16 kB / 488.4 MB, free: 8.312 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.637, allocations: 368 kB / 488.7 MB, free: 7.914 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.6371, allocations: 8 kB / 488.8 MB, free: 7.906 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/0.6372, allocations: 20 kB / 488.8 MB, free: 7.887 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004575/0.6377, allocations: 140.3 kB / 488.9 MB, free: 7.746 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/0.6384, allocations: 271 kB / 489.2 MB, free: 7.477 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6384, allocations: 0 / 489.2 MB, free: 7.477 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.6385, allocations: 11.95 kB / 489.2 MB, free: 7.465 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.6385, allocations: 0 / 489.2 MB, free: 7.465 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.6406, allocations: 0.7356 MB / 489.9 MB, free: 6.691 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.6412, allocations: 194.5 kB / 490.1 MB, free: 6.492 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004124/0.6416, allocations: 184.7 kB / 490.3 MB, free: 6.309 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.6416, allocations: 0 / 490.3 MB, free: 6.309 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007721/0.6424, allocations: 430 kB / 490.7 MB, free: 5.852 MB / 379.1 MB Notification: Performance of pre-optimization done (n=29): time 2.696e-06/0.6424, allocations: 0 / 490.7 MB, free: 5.852 MB / 379.1 MB Notification: Performance of matching and sorting (n=29): time 0.001804/0.6443, allocations: 0.6126 MB / 491.3 MB, free: 5.234 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002111/0.6445, allocations: 281 kB / 491.6 MB, free: 4.898 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.6463, allocations: 0.7961 MB / 492.4 MB, free: 4.098 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.6466, allocations: 40.14 kB / 492.4 MB, free: 4.055 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.6467, allocations: 184.4 kB / 492.6 MB, free: 3.871 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.6469, allocations: 67.2 kB / 492.7 MB, free: 3.805 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.647, allocations: 8 kB / 492.7 MB, free: 3.797 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6471, allocations: 322.8 kB / 493 MB, free: 3.473 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.6475, allocations: 132.2 kB / 493.1 MB, free: 3.344 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.648, allocations: 154.2 kB / 493.3 MB, free: 3.188 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.6483, allocations: 115.8 kB / 493.4 MB, free: 3.074 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6483, allocations: 0 / 493.4 MB, free: 3.074 MB / 379.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001605/0.6499, allocations: 0.5636 MB / 494 MB, free: 2.504 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.6502, allocations: 241.6 kB / 494.2 MB, free: 2.219 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6502, allocations: 0 / 494.2 MB, free: 2.219 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.6502, allocations: 4 kB / 494.2 MB, free: 2.215 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.6503, allocations: 8 kB / 494.2 MB, free: 2.207 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6503, allocations: 0 / 494.2 MB, free: 2.207 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.6508, allocations: 31.97 kB / 494.2 MB, free: 2.176 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004127/0.6512, allocations: 259.8 kB / 494.5 MB, free: 1.922 MB / 379.1 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.0004898/0.6517, allocations: 395.8 kB / 494.9 MB, free: 1.477 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.6519, allocations: 79.11 kB / 495 MB, free: 1.398 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.6524, allocations: 123.3 kB / 495.1 MB, free: 1.277 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6524, allocations: 0 / 495.1 MB, free: 1.277 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.6524, allocations: 7.938 kB / 495.1 MB, free: 1.27 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6524, allocations: 3.984 kB / 495.1 MB, free: 1.266 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.6551, allocations: 1.182 MB / 496.3 MB, free: 40 kB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6552, allocations: 4 kB / 496.3 MB, free: 36 kB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.6552, allocations: 11.95 kB / 496.3 MB, free: 24 kB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.6552, allocations: 3 kB / 496.3 MB, free: 24 kB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.6554, allocations: 47.95 kB / 496.3 MB, free: 15.98 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.6554, allocations: 4 kB / 496.3 MB, free: 15.97 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6554, allocations: 0 / 496.3 MB, free: 15.97 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.6573, allocations: 0.7485 MB / 497.1 MB, free: 15.21 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.6586, allocations: 431.7 kB / 497.5 MB, free: 14.77 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.6588, allocations: 19.95 kB / 497.5 MB, free: 14.75 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.6593, allocations: 35.97 kB / 497.6 MB, free: 14.71 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/0.6596, allocations: 71.86 kB / 497.6 MB, free: 14.64 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004229/0.6601, allocations: 267.6 kB / 497.9 MB, free: 14.38 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001526/0.6616, allocations: 0.647 MB / 498.5 MB, free: 13.73 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.6616, allocations: 0 / 498.5 MB, free: 13.73 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007327/0.6624, allocations: 88 kB / 498.6 MB, free: 13.65 MB / 395.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]) * 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.0003016/0.6627, allocations: 141.5 kB / 498.8 MB, free: 13.5 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.6641, allocations: 0.8741 MB / 499.6 MB, free: 12.53 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6642, allocations: 3.938 kB / 499.6 MB, free: 12.53 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.6652, allocations: 0.7492 MB / 0.4887 GB, free: 11.68 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.6669, allocations: 218.3 kB / 0.4889 GB, free: 11.47 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.6699, allocations: 1.127 MB / 0.49 GB, free: 10.3 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009499/0.6709, allocations: 0.9635 MB / 0.4909 GB, free: 9.312 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.6711, allocations: 51.34 kB / 0.491 GB, free: 9.262 MB / 395.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6712, allocations: 2.531 kB / 0.491 GB, free: 9.262 MB / 395.1 MB Notification: Performance of Templates: time 0.01791/0.6891, allocations: 7.925 MB / 0.4987 GB, free: 1.215 MB / 395.1 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