Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001588/0.001589, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 84.11 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.281e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08403/0.08405, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.3912, allocations: 81.37 MB / 444.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.3915, allocations: 72.02 kB / 444.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05134/0.4428, allocations: 27.64 MB / 472.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4429, allocations: 0 / 472.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4429, allocations: 4 kB / 472.2 MB, free: 8.012 MB / 346.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.0007141/0.4436, allocations: 0.6824 MB / 472.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4437, allocations: 16.02 kB / 472.9 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4438, allocations: 39.53 kB / 472.9 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.4441, allocations: 284.9 kB / 473.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4442, allocations: 4 kB / 473.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.4442, allocations: 8 kB / 473.2 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001588/0.4444, allocations: 76.84 kB / 473.3 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.4446, allocations: 161.4 kB / 473.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4447, allocations: 0 / 473.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.4447, allocations: 4 kB / 473.4 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4447, allocations: 0 / 473.4 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.4454, allocations: 478.7 kB / 473.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.4456, allocations: 116.9 kB / 474 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.4457, allocations: 104.1 kB / 474.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.4457, allocations: 0 / 474.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.446, allocations: 235 kB / 474.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.446, allocations: 0 / 474.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005912/0.4466, allocations: 358.5 kB / 474.7 MB, free: 5.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.4467, allocations: 191.8 kB / 474.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.4474, allocations: 489 kB / 475.4 MB, free: 4.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.4474, allocations: 29.7 kB / 475.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.4475, allocations: 120.7 kB / 475.5 MB, free: 4.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.4475, allocations: 27.23 kB / 475.5 MB, free: 4.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.4476, allocations: 8 kB / 475.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4477, allocations: 333.6 kB / 475.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4478, allocations: 74.86 kB / 475.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4479, allocations: 78.22 kB / 476 MB, free: 4.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.448, allocations: 55.91 kB / 476.1 MB, free: 4.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.448, allocations: 3.938 kB / 476.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004509/0.4485, allocations: 324.6 kB / 476.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.4486, allocations: 152.2 kB / 476.5 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4486, allocations: 3.938 kB / 476.5 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4486, allocations: 7.984 kB / 476.5 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.4487, allocations: 4 kB / 476.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4487, allocations: 160 / 476.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.4488, allocations: 15.91 kB / 476.6 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.4489, allocations: 97.3 kB / 476.7 MB, free: 3.723 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.y,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 () * 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.000194/0.4491, allocations: 270.9 kB / 476.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.4492, allocations: 43.53 kB / 477 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.4493, allocations: 71.22 kB / 477 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4493, allocations: 7.938 kB / 477 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4494, allocations: 8 kB / 477 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4494, allocations: 7.922 kB / 477.1 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.4502, allocations: 0.7357 MB / 477.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4502, allocations: 0 / 477.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.4502, allocations: 0 / 477.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4502, allocations: 0 / 477.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.4502, allocations: 23.23 kB / 477.8 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4502, allocations: 0 / 477.8 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4502, allocations: 4 kB / 477.8 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.4508, allocations: 483.3 kB / 478.3 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.4511, allocations: 268.2 kB / 478.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.4512, allocations: 15.98 kB / 478.6 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.4514, allocations: 12 kB / 478.6 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.4515, allocations: 55.92 kB / 478.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/0.4516, allocations: 101.2 kB / 478.7 MB, free: 1.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004308/0.4521, allocations: 410.6 kB / 479.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4521, allocations: 0 / 479.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.4524, allocations: 48 kB / 479.2 MB, free: 1.234 MB / 346.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) * 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.0001649/0.4526, allocations: 109 kB / 479.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.4531, allocations: 0.5087 MB / 479.8 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4531, allocations: 0 / 479.8 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.4534, allocations: 453 kB / 480.2 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/0.4542, allocations: 162.6 kB / 480.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009751/0.4552, allocations: 0.5934 MB / 481 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.4556, allocations: 0.8222 MB / 481.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.4558, allocations: 8.547 kB / 481.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.4558, allocations: 15.44 kB / 481.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4558, allocations: 4 kB / 481.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01049/0.4663, allocations: 6.352 MB / 488.2 MB, free: 7.871 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches