Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 75.81 kB / 374.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1285, allocations: 53.31 MB / 428 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003081/0.1316, allocations: 1.589 MB / 429.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1337, allocations: 0.8965 MB / 430.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.1338, allocations: 7.938 kB / 430.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.565e-05/0.1339, allocations: 15.86 kB / 430.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.737e-05/0.134, allocations: 19.8 kB / 430.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1343, allocations: 51.88 kB / 430.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1345, allocations: 155.7 kB / 430.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1346, allocations: 25.38 kB / 430.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007313/0.1354, allocations: 0.6317 MB / 431.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1355, allocations: 83.67 kB / 431.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.1356, allocations: 16 kB / 431.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.401e-05/0.1356, allocations: 12 kB / 431.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1357, allocations: 79.62 kB / 431.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1359, allocations: 127 kB / 431.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.1364, allocations: 454.1 kB / 432.2 MB, free: 180 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1364, allocations: 4 kB / 432.2 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1364, allocations: 0 / 432.2 MB, free: 176 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.1364, allocations: 0 / 432.2 MB, free: 176 kB / 350.1 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.2264/0.3628, allocations: 0.8292 MB / 433 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3629, allocations: 9.406 kB / 433 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.355e-05/0.363, allocations: 47.78 kB / 433.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3633, allocations: 292.6 kB / 433.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3633, allocations: 9.141 kB / 433.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.3633, allocations: 14.66 kB / 433.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.3637, allocations: 165.5 kB / 433.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3638, allocations: 1.031 kB / 433.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.3638, allocations: 13.14 kB / 433.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3638, allocations: 1.125 kB / 433.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.364, allocations: 85.53 kB / 433.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.3647, allocations: 0.5018 MB / 434.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3649, allocations: 96.62 kB / 434.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3651, allocations: 84 kB / 434.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3651, allocations: 4.578 kB / 434.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.3655, allocations: 247.6 kB / 434.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.3655, allocations: 1.781 kB / 434.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009677/0.3665, allocations: 0.6118 MB / 435.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3666, allocations: 196.5 kB / 435.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.3672, allocations: 0.5619 MB / 435.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.3673, allocations: 34.48 kB / 436 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.3673, allocations: 111 kB / 436.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.3674, allocations: 34.81 kB / 436.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.3675, allocations: 97.83 kB / 436.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.3676, allocations: 335.3 kB / 436.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3677, allocations: 79.41 kB / 436.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3679, allocations: 99.89 kB / 436.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.3683, allocations: 433 kB / 437.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3683, allocations: 0 / 437.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006403/0.3689, allocations: 0.5121 MB / 437.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.369, allocations: 155.3 kB / 437.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.369, allocations: 1.531 kB / 437.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.369, allocations: 1.375 kB / 437.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.369, allocations: 6.047 kB / 437.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3691, allocations: 5.016 kB / 437.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3692, allocations: 13.39 kB / 437.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3693, allocations: 99.83 kB / 437.9 MB, free: 8.477 MB / 350.1 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.0003183/0.3696, allocations: 398.4 kB / 438.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.3697, allocations: 47.28 kB / 438.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.3698, allocations: 74.41 kB / 438.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3698, allocations: 3.5 kB / 438.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3698, allocations: 1.156 kB / 438.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3698, allocations: 0 / 438.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3709, allocations: 0.9653 MB / 439.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3709, allocations: 1.562 kB / 439.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-06/0.3709, allocations: 0.5625 kB / 439.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3709, allocations: 1.469 kB / 439.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.3709, allocations: 20.61 kB / 439.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3709, allocations: 3.281 kB / 439.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3709, allocations: 1.469 kB / 439.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.3717, allocations: 0.667 MB / 440.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.372, allocations: 256.3 kB / 440.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.3721, allocations: 7.656 kB / 440.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3723, allocations: 17.03 kB / 440.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.3724, allocations: 64.09 kB / 440.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.3726, allocations: 102.9 kB / 440.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.3731, allocations: 419.6 kB / 440.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3731, allocations: 0 / 440.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.3734, allocations: 57.31 kB / 441 MB, free: 6.648 MB / 350.1 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.0001333/0.3735, allocations: 124.1 kB / 441.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.374, allocations: 478.3 kB / 441.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.374, allocations: 3.75 kB / 441.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.3743, allocations: 383.3 kB / 442 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.3752, allocations: 196.1 kB / 442.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3764, allocations: 0.8066 MB / 443 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3767, allocations: 0.8216 MB / 443.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.3767, allocations: 17.28 kB / 443.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3767, allocations: 0.5 kB / 443.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of Templates: time 0.007764/0.3845, allocations: 4.302 MB / 448.1 MB, free: 4.082 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.261925288010389]