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.001912/0.001912, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001572/0.001572, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.487/1.487, allocations: 207.6 MB / 235.3 MB, free: 9.988 MB / 190.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.001913/0.001913, allocations: 58.58 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2796, allocations: 49.15 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002343/0.2819, allocations: 1.57 MB / 397.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.2838, allocations: 0.9221 MB / 398.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.2838, allocations: 1.406 kB / 398.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.79e-05/0.2839, allocations: 14.67 kB / 398.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.284, allocations: 19.77 kB / 398.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.2843, allocations: 59.59 kB / 398.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.2845, allocations: 158.8 kB / 399.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.2846, allocations: 19.75 kB / 399.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.2853, allocations: 0.6385 MB / 399.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.2855, allocations: 87.52 kB / 399.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.2855, allocations: 10.75 kB / 399.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.2856, allocations: 11.91 kB / 399.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.2857, allocations: 77.3 kB / 399.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2858, allocations: 128 kB / 400 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.2862, allocations: 462.5 kB / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2862, allocations: 1.25 kB / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2862, allocations: 0 / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.2863, allocations: 0 / 400.5 MB, free: 6.785 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.0006685/0.2869, allocations: 0.755 MB / 401.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.287, allocations: 14.41 kB / 401.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.287, allocations: 37.28 kB / 401.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.2871, allocations: 45.55 kB / 401.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2873, allocations: 248.7 kB / 401.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2873, allocations: 5.781 kB / 401.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.2874, allocations: 9.562 kB / 401.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.2877, allocations: 175.5 kB / 401.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2877, allocations: 0 / 401.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.2878, allocations: 4.609 kB / 401.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2878, allocations: 5.312 kB / 401.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.2879, allocations: 88.08 kB / 401.9 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.2887, allocations: 468.7 kB / 402.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2889, allocations: 99.95 kB / 402.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.289, allocations: 89.89 kB / 402.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.289, allocations: 4 kB / 402.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.2894, allocations: 243.8 kB / 402.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2894, allocations: 0 / 402.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009824/0.2904, allocations: 0.6172 MB / 403.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2905, allocations: 197.5 kB / 403.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/0.2912, allocations: 0.5578 MB / 404.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2912, allocations: 34.88 kB / 404.2 MB, free: 4.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.2913, allocations: 121.1 kB / 404.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.2914, allocations: 28.8 kB / 404.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.2915, allocations: 98.02 kB / 404.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.2916, allocations: 333.1 kB / 404.7 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2917, allocations: 80.31 kB / 404.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.2919, allocations: 97.03 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.2922, allocations: 440.1 kB / 405.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2922, allocations: 0.7969 kB / 405.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006323/0.2929, allocations: 0.4966 MB / 405.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.2929, allocations: 154.2 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2929, allocations: 0.9844 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.293, allocations: 1.406 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.198e-05/0.293, allocations: 1.219 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.293, allocations: 1.172 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.2932, allocations: 17.2 kB / 406 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.2933, allocations: 100.3 kB / 406.1 MB, free: 2.949 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.0003652/0.2937, allocations: 402.1 kB / 406.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.2937, allocations: 47.09 kB / 406.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.2938, allocations: 68.95 kB / 406.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2938, allocations: 0.5156 kB / 406.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2938, allocations: 1.375 kB / 406.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2938, allocations: 0.7031 kB / 406.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.2951, allocations: 0.9389 MB / 407.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2951, allocations: 0 / 407.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.2951, allocations: 9.25 kB / 407.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2951, allocations: 0 / 407.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.2951, allocations: 19.05 kB / 407.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2951, allocations: 5.906 kB / 407.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2951, allocations: 0 / 407.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.2959, allocations: 0.6686 MB / 408.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.2964, allocations: 216.1 kB / 408.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.2965, allocations: 9.016 kB / 408.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2967, allocations: 27.72 kB / 408.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.2969, allocations: 54.86 kB / 408.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.297, allocations: 104.5 kB / 408.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006283/0.2976, allocations: 420.5 kB / 409.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2976, allocations: 0 / 409.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000513/0.2981, allocations: 52.16 kB / 409.1 MB, free: 1.16 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.001152/0.2993, allocations: 1.217 MB / 410.3 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006031/0.2999, allocations: 487.7 kB / 410.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2999, allocations: 0 / 410.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.3003, allocations: 383.7 kB / 411.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/0.3012, allocations: 192.7 kB / 411.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.3062, allocations: 3.23 MB / 414.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.3067, allocations: 0.8174 MB / 415.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.3069, allocations: 10.56 kB / 415.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.3069, allocations: 42.11 kB / 415.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3069, allocations: 0 / 415.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/0.3477, allocations: 9.436 MB / 424.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.19, allocations: 0 / 424.9 MB, free: 5.621 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.880391997998231]