Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001933/0.001933, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002192/0.002192, allocations: 164.6 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.875 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 66.34 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1267, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003021/0.1297, allocations: 1.527 MB / 380.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1316, allocations: 0.8536 MB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.1317, allocations: 4 kB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.174e-05/0.1318, allocations: 11.86 kB / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.1318, allocations: 27.78 kB / 381.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1321, allocations: 51.89 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1323, allocations: 167.7 kB / 381.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.1324, allocations: 13.58 kB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.1332, allocations: 0.6356 MB / 382.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1334, allocations: 79.69 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.1335, allocations: 12 kB / 382.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.1335, allocations: 12 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1336, allocations: 79.62 kB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1337, allocations: 99.28 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.1342, allocations: 462 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1342, allocations: 0 / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1342, allocations: 0 / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1342, allocations: 8 kB / 382.9 MB, free: 11.43 MB / 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.0009013/0.1351, allocations: 0.7463 MB / 383.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1352, allocations: 15.98 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.1352, allocations: 44.66 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1356, allocations: 240.6 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1356, allocations: 12.38 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.1356, allocations: 8.375 kB / 384 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.1361, allocations: 318.4 kB / 384.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1361, allocations: 0 / 384.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1361, allocations: 4 kB / 384.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1361, allocations: 4 kB / 384.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.1364, allocations: 236.4 kB / 384.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.1372, allocations: 428.2 kB / 385 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1375, allocations: 251 kB / 385.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1377, allocations: 233.4 kB / 385.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1377, allocations: 0 / 385.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/0.1383, allocations: 391.1 kB / 385.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1383, allocations: 0 / 385.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001338/0.1396, allocations: 0.9084 MB / 386.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.1397, allocations: 207.8 kB / 386.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.1405, allocations: 0.564 MB / 387.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.1405, allocations: 33.7 kB / 387.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.1406, allocations: 113.1 kB / 387.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1406, allocations: 35.88 kB / 387.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1408, allocations: 101.5 kB / 387.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1409, allocations: 330.8 kB / 388.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.1412, allocations: 232.6 kB / 388.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1415, allocations: 250.1 kB / 388.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.142, allocations: 450.6 kB / 389 MB, free: 4.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.142, allocations: 0 / 389 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008253/0.1428, allocations: 0.6656 MB / 389.7 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.1429, allocations: 156.5 kB / 389.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1429, allocations: 4 kB / 389.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1429, allocations: 0 / 389.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.383e-05/0.143, allocations: 4 kB / 389.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.143, allocations: 0 / 389.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.1431, allocations: 19.98 kB / 389.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.1433, allocations: 101.6 kB / 389.9 MB, free: 3.691 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.0004328/0.1437, allocations: 404.1 kB / 390.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.1438, allocations: 47.72 kB / 390.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1439, allocations: 71.41 kB / 390.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1439, allocations: 0 / 390.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1439, allocations: 0 / 390.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1439, allocations: 0 / 390.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.1455, allocations: 1.046 MB / 391.5 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1455, allocations: 0 / 391.5 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.1455, allocations: 0 / 391.5 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1455, allocations: 4 kB / 391.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.1455, allocations: 27.98 kB / 391.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1455, allocations: 0 / 391.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1455, allocations: 0 / 391.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.1465, allocations: 0.828 MB / 392.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.1469, allocations: 209.3 kB / 392.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.147, allocations: 12 kB / 392.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1471, allocations: 15.98 kB / 392.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.1473, allocations: 55.94 kB / 392.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.1475, allocations: 105.4 kB / 392.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006687/0.1481, allocations: 418.8 kB / 393.2 MB, free: 280 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1481, allocations: 0 / 393.2 MB, free: 280 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.1484, allocations: 52 kB / 393.2 MB, free: 228 kB / 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.0001672/0.1486, allocations: 119.3 kB / 393.3 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.1495, allocations: 0.7791 MB / 394.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1495, allocations: 0 / 394.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.15, allocations: 0.5249 MB / 394.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.1508, allocations: 187.8 kB / 394.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1523, allocations: 0.9046 MB / 395.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1526, allocations: 207.6 kB / 395.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.1527, allocations: 12.95 kB / 395.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.1527, allocations: 16.5 kB / 395.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1527, allocations: 0 / 395.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01283/0.1655, allocations: 8.058 MB / 404 MB, free: 5.031 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.484401831054129]