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.001738/0.001738, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 14.72 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.001438/0.001438, allocations: 211.3 kB / 21.41 MB, free: 1.672 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 1.501/1.501, allocations: 207.6 MB / 231.8 MB, free: 4.082 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.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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 56.53 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1042, allocations: 49.13 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003278/0.1075, allocations: 1.545 MB / 393 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1096, allocations: 0.927 MB / 393.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.1097, allocations: 0 / 393.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.1098, allocations: 11.88 kB / 393.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.1099, allocations: 31.78 kB / 393.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1102, allocations: 59.88 kB / 394 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1104, allocations: 147.7 kB / 394.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1106, allocations: 25.33 kB / 394.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000746/0.1113, allocations: 0.6395 MB / 394.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1115, allocations: 83.67 kB / 394.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.1115, allocations: 15.94 kB / 394.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.1116, allocations: 12 kB / 394.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1117, allocations: 67.77 kB / 395 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1118, allocations: 139 kB / 395.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.1123, allocations: 466 kB / 395.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1124, allocations: 3.938 kB / 395.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1124, allocations: 0 / 395.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1124, allocations: 0 / 395.6 MB, free: 4.523 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.00103/0.1134, allocations: 0.8178 MB / 396.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1134, allocations: 12.03 kB / 396.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.1135, allocations: 38.75 kB / 396.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.1136, allocations: 40.7 kB / 396.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1139, allocations: 306.4 kB / 396.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.1139, allocations: 4.375 kB / 396.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.114, allocations: 12.38 kB / 396.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.1144, allocations: 173.7 kB / 397 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1144, allocations: 0 / 397 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.1144, allocations: 7.938 kB / 397 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1144, allocations: 3.938 kB / 397 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1146, allocations: 87.94 kB / 397.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.1154, allocations: 0.5004 MB / 397.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1156, allocations: 98.53 kB / 397.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.1158, allocations: 84.88 kB / 397.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1158, allocations: 4 kB / 397.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/0.1163, allocations: 242.6 kB / 398 MB, free: 1.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1163, allocations: 0 / 398 MB, free: 1.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001056/0.1174, allocations: 0.6192 MB / 398.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.1175, allocations: 199.9 kB / 398.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.1183, allocations: 0.5562 MB / 399.4 MB, free: 440 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.1183, allocations: 37.69 kB / 399.4 MB, free: 396 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.1184, allocations: 117.1 kB / 399.5 MB, free: 272 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.1185, allocations: 31.78 kB / 399.5 MB, free: 240 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1186, allocations: 101.5 kB / 399.6 MB, free: 132 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.1188, allocations: 330.8 kB / 400 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.119, allocations: 83.95 kB / 400 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1192, allocations: 97.67 kB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.1199, allocations: 434.8 kB / 400.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1199, allocations: 0 / 400.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008409/0.1207, allocations: 0.5019 MB / 401.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.1208, allocations: 152.5 kB / 401.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1208, allocations: 0 / 401.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1209, allocations: 4 kB / 401.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.086e-05/0.1209, allocations: 4.031 kB / 401.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1209, allocations: 3.938 kB / 401.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1211, allocations: 19.98 kB / 401.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.1212, allocations: 105.2 kB / 401.3 MB, free: 14.27 MB / 334.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.0004499/0.1216, allocations: 396 kB / 401.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.1217, allocations: 47.72 kB / 401.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.1218, allocations: 75.45 kB / 401.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1218, allocations: 0 / 401.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1218, allocations: 4 kB / 401.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1218, allocations: 0 / 401.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1232, allocations: 0.9634 MB / 402.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1232, allocations: 4 kB / 402.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.1232, allocations: 0 / 402.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.1232, allocations: 3.984 kB / 402.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.1232, allocations: 19.98 kB / 402.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1232, allocations: 3.938 kB / 402.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1232, allocations: 0 / 402.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.1241, allocations: 0.6675 MB / 403.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.1245, allocations: 264.8 kB / 403.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.1246, allocations: 16 kB / 403.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1248, allocations: 15.94 kB / 403.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.1249, allocations: 55.92 kB / 403.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.125, allocations: 97.3 kB / 404 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006003/0.1256, allocations: 418.9 kB / 404.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1256, allocations: 0 / 404.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.126, allocations: 55.94 kB / 404.4 MB, free: 11 MB / 334.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.001354/0.1273, allocations: 1.224 MB / 405.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.128, allocations: 484.8 kB / 406.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.128, allocations: 0 / 406.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.1284, allocations: 385 kB / 406.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.1293, allocations: 197.4 kB / 406.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.1339, allocations: 3.249 MB / 409.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.1345, allocations: 0.8143 MB / 410.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.345e-05/0.1346, allocations: 12.88 kB / 410.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.1347, allocations: 47.42 kB / 410.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1347, allocations: 0 / 410.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.1698, allocations: 9.237 MB / 420 MB, free: 10.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.427, allocations: 3.938 kB / 420 MB, free: 10.81 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00299162 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/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] "Error: Could not read variable Mux2x1.out in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv. Warning: Get data of variable Mux2x1.out from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.001383219991112]