Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001762/0.001763, allocations: 119.9 kB / 17.74 MB, free: 5.332 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.002078/0.002078, allocations: 185.3 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 246.4 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 357.5 MB, free: 8.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 49.44 MB / 406.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002807/0.1099, allocations: 1.557 MB / 408.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1118, allocations: 0.8575 MB / 409.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.1119, allocations: 4 kB / 409.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.292e-05/0.112, allocations: 11.86 kB / 409.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.1121, allocations: 23.8 kB / 409.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1123, allocations: 59.88 kB / 409.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.1126, allocations: 163.7 kB / 409.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1127, allocations: 29.39 kB / 409.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007686/0.1135, allocations: 0.6278 MB / 410.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1137, allocations: 75.64 kB / 410.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.1137, allocations: 15.98 kB / 410.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.1138, allocations: 12 kB / 410.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1139, allocations: 79.69 kB / 410.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.114, allocations: 135 kB / 410.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.1145, allocations: 454.3 kB / 411 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1145, allocations: 0 / 411 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1146, allocations: 0 / 411 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1146, allocations: 4 kB / 411 MB, free: 3.215 MB / 334.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.0009654/0.1155, allocations: 0.8294 MB / 411.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1156, allocations: 8.031 kB / 411.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.1157, allocations: 42.73 kB / 411.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.1157, allocations: 48.66 kB / 411.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1161, allocations: 298.5 kB / 412.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1161, allocations: 4.375 kB / 412.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1162, allocations: 12.38 kB / 412.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1165, allocations: 173.6 kB / 412.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1166, allocations: 4 kB / 412.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.1166, allocations: 8 kB / 412.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1166, allocations: 0 / 412.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1168, allocations: 87.89 kB / 412.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.1176, allocations: 0.4965 MB / 413 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1178, allocations: 118.5 kB / 413.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.1181, allocations: 112.9 kB / 413.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1181, allocations: 0 / 413.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.1186, allocations: 246.6 kB / 413.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1186, allocations: 0 / 413.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.00105/0.1196, allocations: 0.6189 MB / 414.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.1198, allocations: 196 kB / 414.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.1205, allocations: 0.5639 MB / 414.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1205, allocations: 37.7 kB / 414.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.1206, allocations: 117.1 kB / 415 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.1207, allocations: 35.88 kB / 415 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1209, allocations: 93.55 kB / 415.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.121, allocations: 334.8 kB / 415.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1212, allocations: 79.95 kB / 415.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1214, allocations: 104 kB / 415.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.1219, allocations: 434.6 kB / 416.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1219, allocations: 0 / 416.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007153/0.1226, allocations: 0.5041 MB / 416.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.1227, allocations: 158.5 kB / 416.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1228, allocations: 0 / 416.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1228, allocations: 0 / 416.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.108e-05/0.1228, allocations: 4 kB / 416.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1228, allocations: 3.938 kB / 416.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.123, allocations: 23.95 kB / 416.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.1231, allocations: 101.2 kB / 416.9 MB, free: 12.9 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.0003837/0.1235, allocations: 400.1 kB / 417.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.1235, allocations: 47.72 kB / 417.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.1237, allocations: 67.47 kB / 417.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1237, allocations: 4 kB / 417.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1237, allocations: 0 / 417.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1237, allocations: 0 / 417.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.1249, allocations: 0.9634 MB / 418.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1249, allocations: 0 / 418.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.1249, allocations: 4 kB / 418.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1249, allocations: 0 / 418.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.125, allocations: 23.98 kB / 418.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/0.125, allocations: 4.062 kB / 418.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.125, allocations: 4 kB / 418.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.1259, allocations: 0.6598 MB / 419 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.1262, allocations: 260.6 kB / 419.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.1263, allocations: 12 kB / 419.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1264, allocations: 15.92 kB / 419.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.1266, allocations: 51.94 kB / 419.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.1267, allocations: 105.2 kB / 419.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005302/0.1273, allocations: 418.8 kB / 419.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1273, allocations: 0 / 419.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1276, allocations: 48 kB / 419.9 MB, free: 9.656 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.001307/0.1289, allocations: 1.227 MB / 421.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.1296, allocations: 0.5321 MB / 421.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1296, allocations: 0 / 421.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.1301, allocations: 472.9 kB / 422.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.131, allocations: 190.1 kB / 422.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.1353, allocations: 3.243 MB / 425.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.1358, allocations: 0.8182 MB / 426.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.704e-05/0.1359, allocations: 16.84 kB / 426.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.136, allocations: 47.42 kB / 426.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.136, allocations: 0 / 426.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.224/0.36, allocations: 9.229 MB / 435.7 MB, free: 22.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.274, allocations: 7.281 kB / 435.7 MB, free: 22.11 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv. Warning: Get data of variable Mux2x1.out from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.684772567008622]