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.001427/0.001427, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001484/0.001484, allocations: 170.5 kB / 25.02 MB, free: 8.941 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 1.474/1.474, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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 2.235e-06/2.235e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.659e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.004183/0.00422, allocations: 1.526 MB / 251.9 MB, free: 6.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.00739, allocations: 0.8546 MB / 252.7 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.00746, allocations: 0 / 252.7 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.007582, allocations: 11.86 kB / 252.7 MB, free: 5.422 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.007716, allocations: 27.84 kB / 252.8 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.008068, allocations: 59.81 kB / 252.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.00842, allocations: 159.6 kB / 253 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.008545, allocations: 25.5 kB / 253 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.009811, allocations: 0.6629 MB / 253.7 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.01003, allocations: 67.81 kB / 253.7 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.0101, allocations: 12 kB / 253.8 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.01015, allocations: 8 kB / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.01031, allocations: 79.7 kB / 253.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.01048, allocations: 67.66 kB / 253.9 MB, free: 4.262 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008206/0.0113, allocations: 458.5 kB / 254.4 MB, free: 3.812 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.01131, allocations: 4 kB / 254.4 MB, free: 3.809 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01131, allocations: 4 kB / 254.4 MB, free: 3.805 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01132, allocations: 0 / 254.4 MB, free: 3.805 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.001352/0.01267, allocations: 0.7424 MB / 255.1 MB, free: 3 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.01273, allocations: 11.98 kB / 255.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.01293, allocations: 60.58 kB / 255.2 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.01343, allocations: 236 kB / 255.4 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.01346, allocations: 4.375 kB / 255.4 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.01352, allocations: 12.38 kB / 255.4 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.01426, allocations: 314.6 kB / 255.7 MB, free: 2.312 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.01427, allocations: 4.125 kB / 255.7 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.01432, allocations: 12.38 kB / 255.7 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.01433, allocations: 7.938 kB / 255.8 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.01479, allocations: 228.5 kB / 256 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.01594, allocations: 432.1 kB / 256.4 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.01645, allocations: 243 kB / 256.6 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.01692, allocations: 241.3 kB / 256.9 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.01693, allocations: 0 / 256.9 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/0.01776, allocations: 399.2 kB / 257.3 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.01776, allocations: 3.938 kB / 257.3 MB, free: 0.582 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.002117/0.01988, allocations: 0.9208 MB / 258.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002194/0.0201, allocations: 195.9 kB / 258.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.0214, allocations: 0.5601 MB / 258.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.02147, allocations: 33.7 kB / 259 MB, free: 14.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.02161, allocations: 121.1 kB / 259.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.02168, allocations: 27.8 kB / 259.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.0219, allocations: 97.5 kB / 259.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002884/0.02219, allocations: 330.8 kB / 259.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.02263, allocations: 224.5 kB / 259.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.0231, allocations: 254.1 kB / 260 MB, free: 13.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.02392, allocations: 454.6 kB / 260.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02392, allocations: 0 / 260.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001434/0.02536, allocations: 0.6625 MB / 261.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.02554, allocations: 156.5 kB / 261.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02555, allocations: 0 / 261.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.02557, allocations: 0 / 261.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.306e-05/0.0256, allocations: 64 / 261.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.02561, allocations: 16.08 kB / 261.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.02585, allocations: 11.98 kB / 261.3 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.02604, allocations: 101.5 kB / 261.4 MB, free: 12.05 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.0006874/0.02673, allocations: 400.2 kB / 261.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.02689, allocations: 59.66 kB / 261.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.02708, allocations: 71.41 kB / 261.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02709, allocations: 0 / 261.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.02709, allocations: 0 / 261.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.0271, allocations: 0 / 261.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.02927, allocations: 1.045 MB / 263 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.02927, allocations: 0 / 263 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.02929, allocations: 7.984 kB / 263 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.0293, allocations: 4 kB / 263 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.02936, allocations: 23.98 kB / 263 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.02937, allocations: 0 / 263 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02937, allocations: 0 / 263 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.03106, allocations: 0.832 MB / 263.8 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/0.03173, allocations: 213.3 kB / 264 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.03183, allocations: 12 kB / 264 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.0321, allocations: 15.98 kB / 264.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.03233, allocations: 59.88 kB / 264.1 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.03252, allocations: 105.4 kB / 264.2 MB, free: 9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009145/0.03344, allocations: 418.8 kB / 264.6 MB, free: 8.594 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03344, allocations: 4 kB / 264.6 MB, free: 8.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005755/0.03401, allocations: 52 kB / 264.7 MB, free: 8.539 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.0002236/0.03424, allocations: 115.4 kB / 264.8 MB, free: 8.418 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.0356, allocations: 0.7674 MB / 265.6 MB, free: 7.527 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.0356, allocations: 0 / 265.6 MB, free: 7.527 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.03643, allocations: 0.5287 MB / 266.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.03782, allocations: 209.5 kB / 266.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.04012, allocations: 0.9238 MB / 267.2 MB, free: 5.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.04061, allocations: 211.5 kB / 267.4 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.388e-05/0.0407, allocations: 12.95 kB / 267.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.04075, allocations: 16.5 kB / 267.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.04075, allocations: 0 / 267.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of Templates: time 0.02028/0.06103, allocations: 8.019 MB / 275.5 MB, free: 13.3 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4945029659429565]