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.001484/0.001484, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001146/0.001145, allocations: 95.55 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004167, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3354, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.468, allocations: 82.8 MB / 457.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4683, allocations: 79.97 kB / 457.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1602/0.6285, allocations: 42.88 MB / 0.4886 GB, free: 3.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6286, allocations: 0 / 0.4886 GB, free: 3.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.6286, allocations: 11.94 kB / 0.4886 GB, free: 3.047 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.001533/0.6302, allocations: 1.067 MB / 0.4896 GB, free: 1.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6302, allocations: 8.031 kB / 0.4896 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.6305, allocations: 71.16 kB / 0.4897 GB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.6313, allocations: 371.9 kB / 0.4901 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.6313, allocations: 16.19 kB / 0.4901 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.6315, allocations: 23.98 kB / 0.4901 GB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009204/0.6324, allocations: 291.2 kB / 0.4904 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6324, allocations: 3.938 kB / 0.4904 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.6325, allocations: 11.98 kB / 0.4904 GB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.6325, allocations: 11.95 kB / 0.4904 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.6331, allocations: 152.6 kB / 0.4905 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.6351, allocations: 0.759 MB / 0.4913 GB, free: 76 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2621/0.8972, allocations: 213.1 kB / 0.4915 GB, free: 102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.8973, allocations: 1.766 kB / 0.4915 GB, free: 102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.8985, allocations: 440.7 kB / 0.4919 GB, free: 101.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.587e-06/0.8985, allocations: 0.625 kB / 0.4919 GB, free: 101.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003272/0.9018, allocations: 1.334 MB / 0.4932 GB, free: 101.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.902, allocations: 282.9 kB / 0.4935 GB, free: 100.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.9038, allocations: 0.8376 MB / 0.4943 GB, free: 100.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.904, allocations: 35.95 kB / 0.4943 GB, free: 100.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.9041, allocations: 186.3 kB / 0.4945 GB, free: 100.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.9043, allocations: 68.7 kB / 0.4946 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.9044, allocations: 6.875 kB / 0.4946 GB, free: 100.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.9045, allocations: 323.4 kB / 0.4949 GB, free: 100.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.905, allocations: 137.5 kB / 0.495 GB, free: 100.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.9055, allocations: 181.1 kB / 0.4952 GB, free: 100 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.9061, allocations: 355.3 kB / 0.4955 GB, free: 99.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9061, allocations: 0 / 0.4955 GB, free: 99.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001952/0.9081, allocations: 0.8136 MB / 0.4963 GB, free: 99.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.9083, allocations: 248.1 kB / 0.4966 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9083, allocations: 0.9688 kB / 0.4966 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.9083, allocations: 1.188 kB / 0.4966 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.9084, allocations: 9.484 kB / 0.4966 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.9084, allocations: 1.062 kB / 0.4966 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.9089, allocations: 34.66 kB / 0.4966 GB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004085/0.9093, allocations: 261.9 kB / 0.4969 GB, free: 99.24 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.001074/0.9104, allocations: 0.6184 MB / 0.4975 GB, free: 98.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.9106, allocations: 74.78 kB / 0.4975 GB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.911, allocations: 132.7 kB / 0.4977 GB, free: 98.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.911, allocations: 1.062 kB / 0.4977 GB, free: 98.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.911, allocations: 0 / 0.4977 GB, free: 98.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.911, allocations: 2.812 kB / 0.4977 GB, free: 98.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.9141, allocations: 1.515 MB / 0.4991 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.9141, allocations: 1.219 kB / 0.4991 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.9142, allocations: 4 kB / 0.4992 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.9142, allocations: 1.375 kB / 0.4992 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.9143, allocations: 45.83 kB / 0.4992 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.9143, allocations: 4.609 kB / 0.4992 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9143, allocations: 0 / 0.4992 GB, free: 98.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.9167, allocations: 1.026 MB / 0.5002 GB, free: 97.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.9178, allocations: 430.6 kB / 0.5006 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.918, allocations: 20.5 kB / 0.5006 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.9185, allocations: 27.28 kB / 0.5007 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.9188, allocations: 74.61 kB / 0.5007 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004377/0.9192, allocations: 271.2 kB / 0.501 GB, free: 97.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001516/0.9208, allocations: 0.6885 MB / 0.5017 GB, free: 97.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.9208, allocations: 0 / 0.5017 GB, free: 97.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008059/0.9216, allocations: 94.47 kB / 0.5018 GB, free: 97.26 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.0002736/0.9219, allocations: 149.7 kB / 0.5019 GB, free: 97.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.9235, allocations: 0.9175 MB / 0.5028 GB, free: 96.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9235, allocations: 3.844 kB / 0.5028 GB, free: 96.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.9244, allocations: 0.7625 MB / 0.5035 GB, free: 96.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.926, allocations: 236.1 kB / 0.5038 GB, free: 96.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.9291, allocations: 1.534 MB / 0.5053 GB, free: 95.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.9298, allocations: 0.9597 MB / 0.5062 GB, free: 94.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.93, allocations: 55.77 kB / 0.5063 GB, free: 94.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.93, allocations: 0 / 0.5063 GB, free: 94.63 MB / 378.7 MB Notification: Performance of Templates: time 0.01422/0.9442, allocations: 7.919 MB / 0.514 GB, free: 93.82 MB / 378.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