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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001927/0.003308, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002805, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9546/0.9546, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1587/1.113, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.986e-05, allocations: 13.34 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003325/0.003355, allocations: 1.597 MB / 223.4 MB, free: 14.56 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004868, allocations: 0.9208 MB / 224.4 MB, free: 13.63 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.004932, allocations: 3.938 kB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.191e-05/0.005014, allocations: 15.92 kB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.005081, allocations: 27.73 kB / 224.4 MB, free: 13.58 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.005311, allocations: 59.81 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.005526, allocations: 159.6 kB / 224.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.005625, allocations: 18.23 kB / 224.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.006143, allocations: 0.6044 MB / 225.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.006261, allocations: 59.83 kB / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.006303, allocations: 12 kB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.006326, allocations: 12 kB / 225.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.0064, allocations: 71.72 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.006466, allocations: 51.75 kB / 225.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.006769, allocations: 314.9 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.213e-05/0.006791, allocations: 0 / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006792, allocations: 0 / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.767e-05/0.00682, allocations: 0 / 225.7 MB, free: 12.23 MB / 234.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.001092/0.007913, allocations: 0.7523 MB / 226.5 MB, free: 11.43 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.007963, allocations: 8.031 kB / 226.5 MB, free: 11.42 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.782e-05/0.008061, allocations: 40.91 kB / 226.5 MB, free: 11.38 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.008372, allocations: 231.9 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.0084, allocations: 8.375 kB / 226.8 MB, free: 11.12 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.008433, allocations: 12.36 kB / 226.8 MB, free: 11.11 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.00886, allocations: 283.3 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.008869, allocations: 192 / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.008891, allocations: 8.359 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.008898, allocations: 3.938 kB / 227.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.00905, allocations: 192.4 kB / 227.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.009465, allocations: 228.1 kB / 227.5 MB, free: 10.32 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.009655, allocations: 207 kB / 227.7 MB, free: 10.08 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.009819, allocations: 209.4 kB / 227.9 MB, free: 9.844 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.009829, allocations: 8 kB / 227.9 MB, free: 9.836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/0.01018, allocations: 347.1 kB / 228.2 MB, free: 9.441 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/0.01018, allocations: 0 / 228.2 MB, free: 9.441 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.000627/0.01081, allocations: 0.6474 MB / 228.9 MB, free: 8.695 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.01085, allocations: 85.09 kB / 229 MB, free: 8.594 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.0113, allocations: 395.1 kB / 229.4 MB, free: 8.195 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.01133, allocations: 37.69 kB / 229.4 MB, free: 8.152 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.0114, allocations: 105.1 kB / 229.5 MB, free: 8.047 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.01144, allocations: 31.73 kB / 229.5 MB, free: 8.016 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.01156, allocations: 77.53 kB / 229.6 MB, free: 7.934 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01169, allocations: 334.8 kB / 229.9 MB, free: 7.598 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01183, allocations: 188.5 kB / 230.1 MB, free: 7.383 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.01201, allocations: 206.2 kB / 230.3 MB, free: 7.145 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.01228, allocations: 400.5 kB / 230.7 MB, free: 6.688 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01228, allocations: 0 / 230.7 MB, free: 6.688 MB / 234.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004139/0.01269, allocations: 450.6 kB / 231.2 MB, free: 6.18 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.0128, allocations: 156.5 kB / 231.3 MB, free: 5.996 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.0128, allocations: 32 / 231.3 MB, free: 5.996 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.01282, allocations: 4 kB / 231.3 MB, free: 5.992 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.624e-05/0.01284, allocations: 0 / 231.3 MB, free: 5.992 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01285, allocations: 4.156 kB / 231.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.01296, allocations: 8 kB / 231.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.01304, allocations: 73.36 kB / 231.4 MB, free: 5.91 MB / 234.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,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.01338, allocations: 375 kB / 231.8 MB, free: 5.5 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.01343, allocations: 39.91 kB / 231.8 MB, free: 5.461 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.01354, allocations: 59.41 kB / 231.9 MB, free: 5.406 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01355, allocations: 0 / 231.9 MB, free: 5.406 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01355, allocations: 4 kB / 231.9 MB, free: 5.402 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01355, allocations: 0 / 231.9 MB, free: 5.402 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.01416, allocations: 0.6986 MB / 232.6 MB, free: 4.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.01416, allocations: 4 kB / 232.6 MB, free: 4.613 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-06/0.01417, allocations: 3.938 kB / 232.6 MB, free: 4.609 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.01462, allocations: 139.4 kB / 232.7 MB, free: 4.469 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01462, allocations: 0 / 232.7 MB, free: 4.469 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.01464, allocations: 8 kB / 232.7 MB, free: 4.461 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01465, allocations: 4 kB / 232.7 MB, free: 4.457 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01465, allocations: 4.109 kB / 232.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.01503, allocations: 0.5746 MB / 233.3 MB, free: 3.801 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.01506, allocations: 15.94 kB / 233.3 MB, free: 3.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.01515, allocations: 19.98 kB / 233.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.01523, allocations: 27.97 kB / 233.4 MB, free: 3.738 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.01528, allocations: 81.34 kB / 233.4 MB, free: 3.656 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.01543, allocations: 172.6 kB / 233.6 MB, free: 3.484 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01543, allocations: 0 / 233.6 MB, free: 3.484 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000169/0.0156, allocations: 51.95 kB / 233.7 MB, free: 3.434 MB / 234.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.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,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.01572, allocations: 92.42 kB / 233.7 MB, free: 3.336 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.01612, allocations: 0.7065 MB / 234.5 MB, free: 2.504 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.01612, allocations: 4 kB / 234.5 MB, free: 2.5 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.01634, allocations: 0.4974 MB / 235 MB, free: 1.906 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.01677, allocations: 220.1 kB / 235.2 MB, free: 1.703 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.01774, allocations: 0.8445 MB / 236 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.286e-05/0.01782, allocations: 107.8 kB / 236.1 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.01785, allocations: 8.969 kB / 236.1 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.01815, allocations: 195.4 kB / 236.3 MB, free: 480 kB / 234.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01815, allocations: 4 kB / 236.3 MB, free: 476 kB / 234.7 MB Notification: Performance of Templates: time 0.0071/0.02525, allocations: 6.445 MB / 242.8 MB, free: 9.949 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7726329853758216]