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.00126/0.00126, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.001248/0.001248, allocations: 190.9 kB / 21.39 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.458/1.458, allocations: 207.6 MB / 231.8 MB, free: 4.074 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: "" <> 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.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.001674/0.001674, allocations: 55.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1058, allocations: 49.11 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003127/0.1089, allocations: 1.553 MB / 392.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.1111, allocations: 0.9153 MB / 393.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.1112, allocations: 8 kB / 393.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.1113, allocations: 11.86 kB / 393.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.1114, allocations: 31.78 kB / 393.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1117, allocations: 51.89 kB / 393.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.112, allocations: 155.7 kB / 394.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1121, allocations: 21.33 kB / 394.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000794/0.1129, allocations: 0.6356 MB / 394.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1131, allocations: 83.69 kB / 394.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1131, allocations: 15.94 kB / 394.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.1132, allocations: 12 kB / 394.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1133, allocations: 75.69 kB / 394.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.1134, allocations: 131 kB / 395.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004744/0.1139, allocations: 466 kB / 395.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1139, allocations: 0 / 395.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1139, allocations: 0 / 395.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.1139, allocations: 0 / 395.5 MB, free: 4.578 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.0009587/0.1149, allocations: 0.8216 MB / 396.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1149, allocations: 12.03 kB / 396.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.115, allocations: 42.73 kB / 396.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.1151, allocations: 44.7 kB / 396.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.1155, allocations: 306.4 kB / 396.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1155, allocations: 4.375 kB / 396.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.1155, allocations: 8.375 kB / 396.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.1159, allocations: 173.7 kB / 396.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1159, allocations: 0 / 396.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1159, allocations: 11.92 kB / 396.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1159, allocations: 0 / 396.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1161, allocations: 87.89 kB / 397 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.1171, allocations: 0.5004 MB / 397.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1173, allocations: 102.5 kB / 397.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1174, allocations: 84.88 kB / 397.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-06/0.1174, allocations: 4 kB / 397.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.1179, allocations: 242.6 kB / 397.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1179, allocations: 0 / 397.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009931/0.1189, allocations: 0.6192 MB / 398.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.119, allocations: 191.9 kB / 398.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/0.1197, allocations: 0.5601 MB / 399.3 MB, free: 488 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.1197, allocations: 33.7 kB / 399.3 MB, free: 448 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.1198, allocations: 117.1 kB / 399.5 MB, free: 324 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1199, allocations: 27.84 kB / 399.5 MB, free: 296 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.12, allocations: 101.5 kB / 399.6 MB, free: 188 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1202, allocations: 330.8 kB / 399.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1203, allocations: 87.94 kB / 400 MB, free: 15.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1205, allocations: 105.6 kB / 400.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.1209, allocations: 434.7 kB / 400.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1209, allocations: 0 / 400.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006738/0.1216, allocations: 0.5019 MB / 401 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.1217, allocations: 156.5 kB / 401.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1217, allocations: 3.984 kB / 401.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1218, allocations: 4 kB / 401.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-05/0.1218, allocations: 0 / 401.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1218, allocations: 0 / 401.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1219, allocations: 16 kB / 401.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.122, allocations: 105.2 kB / 401.3 MB, free: 14.32 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.0003991/0.1224, allocations: 400 kB / 401.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.1225, allocations: 47.72 kB / 401.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1226, allocations: 75.47 kB / 401.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1226, allocations: 0 / 401.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1226, allocations: 0 / 401.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1226, allocations: 3.984 kB / 401.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1238, allocations: 0.9634 MB / 402.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1238, allocations: 4 kB / 402.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.1238, allocations: 0 / 402.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.1238, allocations: 0 / 402.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.1238, allocations: 19.98 kB / 402.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1238, allocations: 7.938 kB / 402.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1238, allocations: 0 / 402.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.1247, allocations: 0.6675 MB / 403.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.125, allocations: 260.6 kB / 403.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.1251, allocations: 12 kB / 403.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1252, allocations: 15.92 kB / 403.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.1254, allocations: 55.94 kB / 403.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.1255, allocations: 101.4 kB / 403.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000512/0.126, allocations: 418.9 kB / 404.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.126, allocations: 0 / 404.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.1263, allocations: 55.94 kB / 404.4 MB, free: 11.05 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.001281/0.1276, allocations: 1.232 MB / 405.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.1282, allocations: 484.9 kB / 406.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1282, allocations: 0 / 406.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.1286, allocations: 384.9 kB / 406.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.1294, allocations: 197.4 kB / 406.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.1335, allocations: 3.241 MB / 409.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.134, allocations: 0.8182 MB / 410.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.768e-05/0.1341, allocations: 20.8 kB / 410.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.1342, allocations: 47.42 kB / 410.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1342, allocations: 0 / 410.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.1686, allocations: 9.226 MB / 420 MB, free: 10.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.038, allocations: 3.984 kB / 420 MB, free: 10.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --stepSize=0.00299162 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.411743447184563]