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.0009096/0.0009096, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001293/0.001293, allocations: 174.8 kB / 25.33 MB, free: 9.457 MB / 18.57 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.9859/0.9859, allocations: 158.6 MB / 187.2 MB, free: 2.488 MB / 170.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.954e-06/1.954e-06, allocations: 0 / 251 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.502e-05, allocations: 5.406 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002019/0.002044, allocations: 1.552 MB / 252.6 MB, free: 2.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003594, allocations: 0.8818 MB / 253.5 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.003657, allocations: 4 kB / 253.5 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.003763, allocations: 11.86 kB / 253.5 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.003851, allocations: 15.86 kB / 253.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.004186, allocations: 59.86 kB / 253.6 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.004401, allocations: 163.6 kB / 253.7 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004518, allocations: 21.52 kB / 253.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006068/0.005124, allocations: 0.6629 MB / 254.4 MB, free: 192 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.005272, allocations: 71.81 kB / 254.5 MB, free: 120 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.005318, allocations: 12 kB / 254.5 MB, free: 108 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.435e-05/0.005352, allocations: 12 kB / 254.5 MB, free: 96 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.005438, allocations: 79.69 kB / 254.6 MB, free: 16 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.005545, allocations: 67.8 kB / 254.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.005906, allocations: 362.7 kB / 255 MB, free: 15.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.00591, allocations: 4 kB / 255 MB, free: 15.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005911, allocations: 0 / 255 MB, free: 15.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.005922, allocations: 0 / 255 MB, free: 15.59 MB / 250.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.000891/0.006813, allocations: 0.8735 MB / 255.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.006865, allocations: 11.98 kB / 255.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.006962, allocations: 56.66 kB / 256 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.007219, allocations: 242.8 kB / 256.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.007246, allocations: 4.375 kB / 256.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.00727, allocations: 12.38 kB / 256.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.007622, allocations: 319.2 kB / 256.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.007629, allocations: 192 / 256.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.007651, allocations: 4.375 kB / 256.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.00766, allocations: 3.938 kB / 256.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.007798, allocations: 224.4 kB / 256.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.008423, allocations: 0.5306 MB / 257.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.008604, allocations: 247.5 kB / 257.5 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.008734, allocations: 220.3 kB / 257.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.008742, allocations: 7.938 kB / 257.7 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.009, allocations: 384.7 kB / 258.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.009001, allocations: 0 / 258.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007512/0.009753, allocations: 0.8815 MB / 259 MB, free: 11.17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.009845, allocations: 195.9 kB / 259.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.01048, allocations: 0.6778 MB / 259.9 MB, free: 10.24 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.01051, allocations: 29.7 kB / 259.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.01059, allocations: 167.8 kB / 260.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.01062, allocations: 27.84 kB / 260.1 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/0.01071, allocations: 107.2 kB / 260.2 MB, free: 9.895 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01083, allocations: 0.5001 MB / 260.7 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.01098, allocations: 208.6 kB / 260.9 MB, free: 9.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.01112, allocations: 243.8 kB / 261.1 MB, free: 8.871 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.01138, allocations: 422.7 kB / 261.5 MB, free: 8.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01138, allocations: 4 kB / 261.6 MB, free: 8.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004604/0.01184, allocations: 0.639 MB / 262.2 MB, free: 7.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.01198, allocations: 152.5 kB / 262.3 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01199, allocations: 3.984 kB / 262.3 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01201, allocations: 4 kB / 262.3 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.01203, allocations: 4 kB / 262.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01203, allocations: 0 / 262.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01214, allocations: 12 kB / 262.4 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.01221, allocations: 97.42 kB / 262.5 MB, free: 7.383 MB / 250.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.0002503/0.01246, allocations: 423.1 kB / 262.9 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.01253, allocations: 63.59 kB / 262.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.0126, allocations: 63.39 kB / 263 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0126, allocations: 0 / 263 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01261, allocations: 0 / 263 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01261, allocations: 0 / 263 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.01356, allocations: 1.119 MB / 264.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01357, allocations: 0 / 264.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.01357, allocations: 4 kB / 264.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01358, allocations: 0 / 264.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.0136, allocations: 27.98 kB / 264.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.0136, allocations: 0 / 264.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0136, allocations: 0 / 264.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.01414, allocations: 0.8617 MB / 265 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.01436, allocations: 193.4 kB / 265.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.01441, allocations: 15.94 kB / 265.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.01449, allocations: 8 kB / 265.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.01461, allocations: 67.91 kB / 265.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.01468, allocations: 109.4 kB / 265.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003554/0.01504, allocations: 450.7 kB / 265.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01504, allocations: 0 / 265.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01525, allocations: 52 kB / 265.9 MB, free: 3.727 MB / 250.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.0001167/0.01537, allocations: 107.2 kB / 266 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.01584, allocations: 0.7632 MB / 266.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01584, allocations: 0 / 266.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.01609, allocations: 0.5128 MB / 267.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.01688, allocations: 214.6 kB / 267.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.01774, allocations: 0.8668 MB / 268.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.965e-05/0.01783, allocations: 107.7 kB / 268.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.01789, allocations: 12.95 kB / 268.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.01793, allocations: 20.5 kB / 268.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01793, allocations: 0 / 268.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of Templates: time 0.009664/0.02759, allocations: 8.496 MB / 277 MB, free: 8.176 MB / 266.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 -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.854647464118898]