Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001678/0.001678, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002412/0.002412, allocations: 212.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2871, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002873/0.29, allocations: 1.522 MB / 432.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2919, allocations: 0.8498 MB / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.292, allocations: 0 / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.408e-05/0.2921, allocations: 15.86 kB / 433.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.2922, allocations: 23.84 kB / 433.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.2925, allocations: 59.86 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.2927, allocations: 155.6 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.2928, allocations: 21.52 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007179/0.2935, allocations: 0.6317 MB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.2937, allocations: 83.62 kB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.2937, allocations: 12 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.2938, allocations: 12 kB / 434.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.2939, allocations: 71.69 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.294, allocations: 99.22 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.2945, allocations: 467.8 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.2945, allocations: 7.938 kB / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2945, allocations: 0 / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2945, allocations: 0 / 435.1 MB, free: 2.59 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.0009406/0.2954, allocations: 0.7463 MB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2955, allocations: 12.03 kB / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.2955, allocations: 34.75 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.312e-05/0.2956, allocations: 44.66 kB / 435.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.296, allocations: 236.8 kB / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.296, allocations: 16.31 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.296, allocations: 8.375 kB / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.2965, allocations: 324.7 kB / 436.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2965, allocations: 0 / 436.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.2965, allocations: 4 kB / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2966, allocations: 0 / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.2969, allocations: 232.5 kB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.2977, allocations: 463.5 kB / 437.2 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.298, allocations: 239 kB / 437.4 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.2983, allocations: 233.4 kB / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2983, allocations: 0 / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.2989, allocations: 399.1 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2989, allocations: 4 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001222/0.3001, allocations: 0.9008 MB / 438.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.3002, allocations: 196 kB / 439.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.301, allocations: 0.5678 MB / 439.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.301, allocations: 29.7 kB / 439.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.3011, allocations: 121.1 kB / 439.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.3011, allocations: 31.8 kB / 439.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.3013, allocations: 101.5 kB / 440 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3014, allocations: 330.8 kB / 440.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.3017, allocations: 236.5 kB / 440.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.302, allocations: 246.3 kB / 440.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.3024, allocations: 446.5 kB / 441.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3024, allocations: 0 / 441.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008106/0.3032, allocations: 0.6413 MB / 441.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.3033, allocations: 156.5 kB / 442 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3034, allocations: 0 / 442 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3034, allocations: 4 kB / 442 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-05/0.3034, allocations: 3.938 kB / 442 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3034, allocations: 4.094 kB / 442 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3036, allocations: 19.98 kB / 442 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3037, allocations: 105.2 kB / 442.1 MB, free: 10.8 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.0004105/0.3041, allocations: 388.1 kB / 442.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.3042, allocations: 51.7 kB / 442.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3043, allocations: 71.41 kB / 442.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3043, allocations: 4 kB / 442.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3043, allocations: 0 / 442.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3043, allocations: 0 / 442.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.3056, allocations: 1.061 MB / 443.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3056, allocations: 4 kB / 443.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-06/0.3056, allocations: 4 kB / 443.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3056, allocations: 0 / 443.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.3056, allocations: 19.98 kB / 443.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3056, allocations: 3.938 kB / 443.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3056, allocations: 0 / 443.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.3066, allocations: 0.8087 MB / 444.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.307, allocations: 213.3 kB / 444.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.3071, allocations: 12 kB / 444.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.3072, allocations: 15.94 kB / 444.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.3074, allocations: 59.92 kB / 444.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.3075, allocations: 113.1 kB / 444.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005546/0.3081, allocations: 418.8 kB / 445.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3081, allocations: 0 / 445.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.3084, allocations: 48 kB / 445.4 MB, free: 7.32 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.001377/0.3097, allocations: 1.377 MB / 446.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008201/0.3106, allocations: 0.7635 MB / 447.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3106, allocations: 0 / 447.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.3111, allocations: 0.521 MB / 448.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/0.3119, allocations: 198.9 kB / 448.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.3169, allocations: 3.973 MB / 452.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3172, allocations: 211.5 kB / 452.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3173, allocations: 16.95 kB / 452.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.3174, allocations: 47.42 kB / 452.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3174, allocations: 0 / 452.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.3579, allocations: 10.46 MB / 463 MB, free: 5.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.54, allocations: 14.02 kB / 463 MB, free: 5.215 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv","/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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv. Warning: Get data of variable Mux2x1.out from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.332328660413623]