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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 112.5 kB / 18.4 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.002081, allocations: 193.3 kB / 21.34 MB, free: 1.758 MB / 14.72 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 2.126/2.126, allocations: 205.1 MB / 229.2 MB, free: 4.48 MB / 174.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 55.7 kB / 335.2 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1152, allocations: 46.63 MB / 381.8 MB, free: 484 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002893/0.1181, allocations: 1.542 MB / 383.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1203, allocations: 0.9146 MB / 384.3 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.1203, allocations: 4 kB / 384.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1205, allocations: 7.875 kB / 384.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.1206, allocations: 27.73 kB / 384.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1209, allocations: 59.86 kB / 384.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1211, allocations: 163.7 kB / 384.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1213, allocations: 33.33 kB / 384.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.122, allocations: 0.6239 MB / 385.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.1222, allocations: 79.67 kB / 385.3 MB, free: 13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.1222, allocations: 15.94 kB / 385.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.1223, allocations: 12 kB / 385.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1224, allocations: 71.75 kB / 385.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1225, allocations: 131 kB / 385.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.123, allocations: 462 kB / 386 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1231, allocations: 0 / 386 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1231, allocations: 0 / 386 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1231, allocations: 0 / 386 MB, free: 12.32 MB / 318.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.0009769/0.1241, allocations: 0.8217 MB / 386.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1241, allocations: 12.03 kB / 386.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/0.1242, allocations: 40.7 kB / 386.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1246, allocations: 306.4 kB / 387.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1246, allocations: 8.375 kB / 387.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.1247, allocations: 16.38 kB / 387.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.125, allocations: 173.8 kB / 387.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1251, allocations: 0 / 387.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.1251, allocations: 4 kB / 387.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1251, allocations: 7.984 kB / 387.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1253, allocations: 87.89 kB / 387.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.1261, allocations: 0.4965 MB / 387.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.1263, allocations: 126.5 kB / 388.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1266, allocations: 112.8 kB / 388.2 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.1266, allocations: 4.109 kB / 388.2 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004815/0.1271, allocations: 246.6 kB / 388.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.1271, allocations: 0 / 388.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.00108/0.1282, allocations: 0.6227 MB / 389 MB, free: 9.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.1283, allocations: 195.9 kB / 389.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000807/0.1291, allocations: 0.5562 MB / 389.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.1292, allocations: 33.7 kB / 389.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1293, allocations: 125.1 kB / 389.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.1293, allocations: 23.86 kB / 390 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.1295, allocations: 97.5 kB / 390.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1297, allocations: 338.7 kB / 390.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1298, allocations: 79.91 kB / 390.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.13, allocations: 101.7 kB / 390.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.1305, allocations: 434.7 kB / 391 MB, free: 6.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1305, allocations: 0 / 391 MB, free: 6.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007616/0.1313, allocations: 0.5058 MB / 391.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.1314, allocations: 153.6 kB / 391.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1314, allocations: 0 / 391.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1315, allocations: 0 / 391.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.179e-05/0.1315, allocations: 0 / 391.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1315, allocations: 0 / 391.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1317, allocations: 15.98 kB / 391.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.1318, allocations: 101.2 kB / 391.8 MB, free: 6.066 MB / 318.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.0004337/0.1322, allocations: 408 kB / 392.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1323, allocations: 51.66 kB / 392.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1324, allocations: 79.45 kB / 392.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1325, allocations: 0 / 392.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1325, allocations: 0 / 392.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1325, allocations: 0 / 392.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1337, allocations: 0.9557 MB / 393.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1337, allocations: 0 / 393.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-06/0.1337, allocations: 4.125 kB / 393.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1337, allocations: 4 kB / 393.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.1338, allocations: 19.98 kB / 393.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1338, allocations: 0 / 393.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1338, allocations: 3.938 kB / 393.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.1347, allocations: 0.6636 MB / 393.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.1351, allocations: 256.6 kB / 394.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.1352, allocations: 12 kB / 394.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1353, allocations: 19.98 kB / 394.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.1355, allocations: 59.88 kB / 394.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.1356, allocations: 101.2 kB / 394.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000552/0.1362, allocations: 418.8 kB / 394.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1362, allocations: 0 / 394.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.1365, allocations: 55.94 kB / 394.8 MB, free: 2.793 MB / 318.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.0001802/0.1367, allocations: 123.2 kB / 395 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.1374, allocations: 0.5399 MB / 395.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1374, allocations: 0 / 395.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.1379, allocations: 461 kB / 395.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008959/0.1388, allocations: 194 kB / 396.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1401, allocations: 0.7554 MB / 396.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.1407, allocations: 0.8221 MB / 397.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.1408, allocations: 20.8 kB / 397.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.1408, allocations: 15.44 kB / 397.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1408, allocations: 0 / 397.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of Templates: time 0.01252/0.1534, allocations: 7.43 MB / 405.2 MB, free: 8.086 MB / 334.1 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: 5.5132822105661035]