Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.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.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, 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.906/1.906, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001093/0.001092, allocations: 91.19 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 12 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3349, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.465, allocations: 81.89 MB / 456.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.4653, allocations: 67.97 kB / 456.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0971/0.5624, allocations: 27.65 MB / 484.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5625, allocations: 0 / 484.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.5625, allocations: 8 kB / 484.1 MB, free: 3.215 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009682/0.5635, allocations: 0.7476 MB / 484.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5635, allocations: 8.031 kB / 484.9 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.5637, allocations: 43.44 kB / 484.9 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.5641, allocations: 273.4 kB / 485.2 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.5641, allocations: 11.94 kB / 485.2 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.5642, allocations: 8 kB / 485.2 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.5647, allocations: 169.5 kB / 485.4 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5647, allocations: 4 kB / 485.4 MB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.5648, allocations: 4 kB / 485.4 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5648, allocations: 0 / 485.4 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.5651, allocations: 83.95 kB / 485.5 MB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.5662, allocations: 0.4887 MB / 486 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.5666, allocations: 126.5 kB / 486.1 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.5666, allocations: 4 kB / 486.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.5671, allocations: 246.6 kB / 486.3 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.294e-06/0.5672, allocations: 0 / 486.3 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001645/0.5688, allocations: 0.7502 MB / 487.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.569, allocations: 195.9 kB / 487.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.57, allocations: 0.5045 MB / 487.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.5701, allocations: 29.7 kB / 487.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5702, allocations: 175.5 kB / 488 MB, free: 15.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.5703, allocations: 39.66 kB / 488 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.5703, allocations: 4 kB / 488 MB, free: 14.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5705, allocations: 314.8 kB / 488.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.5707, allocations: 79.95 kB / 488.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.571, allocations: 93.67 kB / 488.5 MB, free: 14.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.5714, allocations: 216.7 kB / 488.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5714, allocations: 0 / 488.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001127/0.5726, allocations: 482 kB / 489.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.5727, allocations: 152.5 kB / 489.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5727, allocations: 0 / 489.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5728, allocations: 0 / 489.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.458e-05/0.5728, allocations: 0 / 489.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5728, allocations: 7.938 kB / 489.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.5731, allocations: 27.84 kB / 489.4 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.5733, allocations: 101.4 kB / 489.5 MB, free: 13.43 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: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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.0006455/0.574, allocations: 400 kB / 489.9 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.5741, allocations: 43.53 kB / 489.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.5743, allocations: 71.47 kB / 490 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5743, allocations: 0 / 490 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5743, allocations: 0 / 490 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5743, allocations: 0 / 490 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.5762, allocations: 0.9399 MB / 490.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5762, allocations: 0 / 490.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.5762, allocations: 4 kB / 490.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.5762, allocations: 0 / 490.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.5763, allocations: 19.98 kB / 490.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5763, allocations: 0 / 490.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5763, allocations: 0 / 490.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.5777, allocations: 0.6401 MB / 491.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005844/0.5783, allocations: 256.3 kB / 491.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.5784, allocations: 16 kB / 491.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.5787, allocations: 15.98 kB / 491.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.579, allocations: 59.92 kB / 491.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.5791, allocations: 105.1 kB / 492 MB, free: 10.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008883/0.58, allocations: 422.8 kB / 492.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5801, allocations: 0 / 492.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004643/0.5805, allocations: 48 kB / 492.5 MB, free: 10.23 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: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * 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.000222/0.5808, allocations: 123.2 kB / 492.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.5818, allocations: 0.5321 MB / 493.1 MB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5818, allocations: 3.938 kB / 493.1 MB, free: 9.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.5824, allocations: 464.9 kB / 493.6 MB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5836, allocations: 161.3 kB / 493.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.5858, allocations: 0.8937 MB / 494.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.5865, allocations: 0.8263 MB / 495.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.5865, allocations: 11.44 kB / 495.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5866, allocations: 3.938 kB / 495.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of Templates: time 0.01002/0.5966, allocations: 4.203 MB / 499.7 MB, free: 2.719 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches